You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Test {
public Test() {
Optional.empty().orElseGet(
() -> Optional.ofNullable(Test.class.getResourceAsStream("file"))
.orElseThrow(() -> new IllegalArgumentException("invalid file file in classpath")));
}
}
raises: Test.lambda$0() may fail to clean up java.io.InputStream [Of Concern(20), Normal confidence].
I think it shouldn't :)
The text was updated successfully, but these errors were encountered:
The following code:
raises:
Test.lambda$0() may fail to clean up java.io.InputStream [Of Concern(20), Normal confidence]
.I think it shouldn't :)
The text was updated successfully, but these errors were encountered: