ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r382930 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
Date Fri, 03 Mar 2006 21:05:34 GMT
Author: bodewig
Date: Fri Mar  3 13:05:33 2006
New Revision: 382930

URL: http://svn.apache.org/viewcvs?rev=382930&view=rev
Log:
whitespace

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java?rev=382930&r1=382929&r2=382930&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java Fri Mar  3 13:05:33
2006
@@ -2080,15 +2080,15 @@
         if (sourcePath != null) {
             PatternSet ps = new PatternSet();
             if (packageNames.size() > 0) {
-            Enumeration e = packageNames.elements();
-            while (e.hasMoreElements()) {
-                PackageName p = (PackageName) e.nextElement();
-                String pkg = p.getName().replace('.', '/');
-                if (pkg.endsWith("*")) {
-                    pkg += "*";
+                Enumeration e = packageNames.elements();
+                while (e.hasMoreElements()) {
+                    PackageName p = (PackageName) e.nextElement();
+                    String pkg = p.getName().replace('.', '/');
+                    if (pkg.endsWith("*")) {
+                        pkg += "*";
+                    }
+                    ps.createInclude().setName(pkg);
                 }
-                ps.createInclude().setName(pkg);
-            }
             } else {
                 ps.createInclude().setName("**");
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message