mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Removing duplicate Null check
This commit is contained in:
@@ -107,9 +107,6 @@ public class BitstreamRestController {
|
||||
Context context = ContextUtil.obtainContext(request);
|
||||
|
||||
Bitstream bit = bitstreamService.find(context, uuid);
|
||||
if (bit == null) {
|
||||
throw new ResourceNotFoundException();
|
||||
}
|
||||
EPerson currentUser = context.getCurrentUser();
|
||||
|
||||
if (bit == null) {
|
||||
|
Reference in New Issue
Block a user