- Revision
- 1335
- Author
- mauro
- Date
- 2009-10-14 10:20:03 -0500 (Wed, 14 Oct 2009)
Log Message
Removed redundant close() method.
Modified Paths
Diff
Modified: trunk/web/web-io/src/main/java/org/jbehave/web/io/ZipFileArchiver.java (1334 => 1335)
--- trunk/web/web-io/src/main/java/org/jbehave/web/io/ZipFileArchiver.java 2009-10-14 12:57:59 UTC (rev 1334) +++ trunk/web/web-io/src/main/java/org/jbehave/web/io/ZipFileArchiver.java 2009-10-14 15:20:03 UTC (rev 1335) @@ -79,7 +79,7 @@ throw new FileUnarchiveFailedException(archive, directory, e); } finally { close(is); - close(in); + close(in); } } @@ -93,16 +93,6 @@ } } - private void close(ArchiveInputStream in) { - try { - if (in != null) { - in.close(); - } - } catch (Exception e) { - e.printStackTrace(); - } - } - public List<File> listContent(File directory) { List<File> content = new ArrayList<File>(); content.add(directory);
To unsubscribe from this list please visit:
