Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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