We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6768d41 commit 26f2584Copy full SHA for 26f2584
1 file changed
java/src/main/java/com/genexus/util/GXFile.java
@@ -228,8 +228,9 @@ public void delete() {
228
lineIterator.close();
229
lineIterator = null;
230
}
231
- if (this.getStream() != null) {
232
- this.getStream().close();
+ InputStream is = this.getStream();
+ if (is != null) {
233
+ is.close();
234
235
} catch (Exception ignored) {}
236
0 commit comments