summaryrefslogtreecommitdiff
path: root/src/main/org/apache/tools/ant/types/ZipScanner.java
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2017-04-19 15:30:15 +0200
committerStefan Bodewig <bodewig@apache.org>2017-04-19 15:30:15 +0200
commitee47fa6e1a3828f7f52d4c3a8307074603e70740 (patch)
treeb98b7569b6088635844abe27f439913d90618c61 /src/main/org/apache/tools/ant/types/ZipScanner.java
parentb7d1e9bde44cb8e5233d6e70bb96e14cbb2f3e2d (diff)
downloadant-ee47fa6e1a3828f7f52d4c3a8307074603e70740.tar.gz
whitespace
Diffstat (limited to 'src/main/org/apache/tools/ant/types/ZipScanner.java')
-rw-r--r--src/main/org/apache/tools/ant/types/ZipScanner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/org/apache/tools/ant/types/ZipScanner.java b/src/main/org/apache/tools/ant/types/ZipScanner.java
index 49f66ebd9..a3df040d2 100644
--- a/src/main/org/apache/tools/ant/types/ZipScanner.java
+++ b/src/main/org/apache/tools/ant/types/ZipScanner.java
@@ -60,7 +60,7 @@ public class ZipScanner extends ArchiveScanner {
File srcFile = src.asOptional(FileProvider.class)
.map(FileProvider::getFile).orElseThrow(() -> new BuildException(
"Only file provider resources are supported"));
-
+
try (ZipFile zf = new ZipFile(srcFile, encoding)) {
Enumeration<ZipEntry> e = zf.getEntries();
@@ -87,4 +87,4 @@ public class ZipScanner extends ArchiveScanner {
throw new BuildException("Problem opening " + srcFile, ex);
}
}
-} \ No newline at end of file
+}