Author: bodewig
Date: Fri Jul 10 14:27:06 2009
New Revision: 792961
URL: http://svn.apache.org/viewvc?rev=792961&view=rev
Log:
whitespace
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java?rev=792961&r1=792960&r2=792961&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java Fri Jul 10
14:27:06 2009
@@ -1088,18 +1088,17 @@
org.apache.tools.zip.ZipEntry ze =
(org.apache.tools.zip.ZipEntry) entries.nextElement();
String name = ze.getName();
- if (ze.isDirectory()) {
- dirSet.add(name);
- } else if (name.indexOf("/") == -1) {
- files.add(name);
- } else {
- // a file, not in the root
- // since the jar may be one without directory
- // entries, add the parent dir of this file as
- // well.
- dirSet.add(name.substring(0,
- name.lastIndexOf("/") + 1));
- }
+ if (ze.isDirectory()) {
+ dirSet.add(name);
+ } else if (name.indexOf("/") == -1) {
+ files.add(name);
+ } else {
+ // a file, not in the root
+ // since the jar may be one without directory
+ // entries, add the parent dir of this file as
+ // well.
+ dirSet.add(name.substring(0, name.lastIndexOf("/") + 1));
+ }
}
dirs.addAll(dirSet);
} finally {