BinaryResultSubject: Remove unnecessary resource warning suppression
Change-Id: I5fbd7329aca2ebe6732ca5912861fdd061cb10ce
This commit is contained in:
parent
40ef1b6f37
commit
83bb19bd9a
@ -62,7 +62,6 @@ public class BinaryResultSubject
|
||||
// We shouldn't close the BinaryResult within this method as it might still
|
||||
// be used afterwards. Besides, closing it doesn't have an effect for most
|
||||
// implementations of a BinaryResult.
|
||||
@SuppressWarnings("resource")
|
||||
BinaryResult binaryResult = actual();
|
||||
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
||||
binaryResult.writeTo(byteArrayOutputStream);
|
||||
|
Loading…
Reference in New Issue
Block a user