Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2020-01-14 13:10:49 -0500
committerStephan Herrmann2020-01-14 13:10:49 -0500
commit28782a7c8ade50be5fbb2ca2069a38cad29fd355 (patch)
tree0cdee46775b371144aaef7f3031db0090a97fa36
parentfff653e221d24349843926a9fc87cfbc0cafdd78 (diff)
downloadeclipse.jdt.core-28782a7c8ade50be5fbb2ca2069a38cad29fd355.tar.gz
eclipse.jdt.core-28782a7c8ade50be5fbb2ca2069a38cad29fd355.tar.xz
eclipse.jdt.core-28782a7c8ade50be5fbb2ca2069a38cad29fd355.zip
Bug 559137 - Fix Resource Leak warningsI20200114-1805
- tiny simplification Change-Id: I069c5cee4bfecec8462a370c85229c48dc65ef34
-rw-r--r--org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/util/ResourceHelper.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/util/ResourceHelper.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/util/ResourceHelper.java
index f84e7e4556..1345e5af53 100644
--- a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/util/ResourceHelper.java
+++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/util/ResourceHelper.java
@@ -508,8 +508,6 @@ public class ResourceHelper {
builder.append(buffer, 0, read);
}
return builder.toString();
- } finally {
- stream.close();
}
}

Back to the top