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