Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2004-04-20 05:19:29 -0400
committerAndre Weinand2004-04-20 05:19:29 -0400
commit9e546bc8861b879460337ea24c3a47a06c227494 (patch)
tree29751f1f6748880972947e5e7bb2c6259ae5fbe0
parent95cd07d46fccf6b9a1b6832f3d94596573c7b7f7 (diff)
downloadeclipse.platform.team-9e546bc8861b879460337ea24c3a47a06c227494.tar.gz
eclipse.platform.team-9e546bc8861b879460337ea24c3a47a06c227494.tar.xz
eclipse.platform.team-9e546bc8861b879460337ea24c3a47a06c227494.zip
removed closing of input streams
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java8
-rw-r--r--bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
index 6cda1f25e..f9f324339 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
@@ -31,10 +31,10 @@ class LineComparator implements IRangeComparator {
ar.add(line);
} catch (IOException e) {
}
- try {
- is.close();
- } catch (IOException e1) {
- }
+// try {
+// is.close();
+// } catch (IOException e1) {
+// }
fLines = (String[]) ar.toArray(new String[ar.size()]);
}
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
index 6cda1f25e..f9f324339 100644
--- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
+++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/merge/LineComparator.java
@@ -31,10 +31,10 @@ class LineComparator implements IRangeComparator {
ar.add(line);
} catch (IOException e) {
}
- try {
- is.close();
- } catch (IOException e1) {
- }
+// try {
+// is.close();
+// } catch (IOException e1) {
+// }
fLines = (String[]) ar.toArray(new String[ar.size()]);
}

Back to the top