Skip to content

Commit bd3982b

Browse files
committed
Add hints for spotbugs.
1 parent 8d4fbdc commit bd3982b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/DynamicType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6280,6 +6280,7 @@ public File toJar(File file) throws IOException {
62806280
/**
62816281
* {@inheritDoc}
62826282
*/
6283+
@SuppressFBWarnings(value = "OS_OPEN_STREAM_EXCEPTION_PATH", justification = "Outer stream holds file handle and is closed")
62836284
public File toJar(File file, Manifest manifest) throws IOException {
62846285
if (!file.isFile() && !file.createNewFile()) {
62856286
throw new IllegalArgumentException("Could not create file: " + file);

0 commit comments

Comments
 (0)