diff options
author | Stefan Bodewig <bodewig@apache.org> | 2017-04-19 15:30:15 +0200 |
---|---|---|
committer | Stefan Bodewig <bodewig@apache.org> | 2017-04-19 15:30:15 +0200 |
commit | ee47fa6e1a3828f7f52d4c3a8307074603e70740 (patch) | |
tree | b98b7569b6088635844abe27f439913d90618c61 /src/main/org/apache/tools/ant/types/ZipScanner.java | |
parent | b7d1e9bde44cb8e5233d6e70bb96e14cbb2f3e2d (diff) | |
download | ant-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.java | 4 |
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 +} |