Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-06-17 12:28:14 +0000
committerLars Vogel2019-06-17 12:28:14 +0000
commit3e59edd77535744f1ee0a23a8db5be99d7d3f8c9 (patch)
treefa16b60dc7bc98081af43245b9aee8124097d6da
parentf8455f34b862d5140be196d12328b2c4eb6bac7c (diff)
downloadeclipse.platform.text-I20190618-1805.tar.gz
eclipse.platform.text-I20190618-1805.tar.xz
eclipse.platform.text-I20190618-1805.zip
Removes redundant semicolonsI20190618-1805I20190618-0225I20190617-1800
Change-Id: I41a105681a1e1578278ca64cc409913283c9cdac Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.search.tests/src/org/eclipse/search/tests/FileTool.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.search.tests/src/org/eclipse/search/tests/FileTool.java b/org.eclipse.search.tests/src/org/eclipse/search/tests/FileTool.java
index fa2642b44..e23fb5c06 100644
--- a/org.eclipse.search.tests/src/org/eclipse/search/tests/FileTool.java
+++ b/org.eclipse.search.tests/src/org/eclipse/search/tests/FileTool.java
@@ -67,7 +67,7 @@ public class FileTool {
try (
InputStream src = zipFile.getInputStream(entry);
- OutputStream dst = new FileOutputStream(file);
+ OutputStream dst = new FileOutputStream(file)
) {
transferData(src, dst);
}
@@ -108,7 +108,7 @@ public class FileTool {
destination.getParentFile().mkdirs();
try (
InputStream is = new FileInputStream(source);
- OutputStream os = new FileOutputStream(destination);
+ OutputStream os = new FileOutputStream(destination)
) {
transferData(is, os);
@@ -195,7 +195,7 @@ public class FileTool {
}
public static void write(String fileName, StringBuffer content) throws IOException {
- try (Writer writer= new FileWriter(fileName);) {
+ try (Writer writer= new FileWriter(fileName)) {
writer.write(content.toString());
}
}

Back to the top