Removing duplicate Null check

This commit is contained in:
Kevin Van de Velde
2022-01-20 16:56:06 +01:00
parent 441c62239a
commit a15478178d

View File

@@ -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) {