ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1040173 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java
Date Mon, 29 Nov 2010 16:27:53 GMT
Author: bodewig
Date: Mon Nov 29 16:27:52 2010
New Revision: 1040173

URL: http://svn.apache.org/viewvc?rev=1040173&view=rev
Log:
whitespace

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java?rev=1040173&r1=1040172&r2=1040173&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java Mon Nov 29 16:27:52 2010
@@ -939,20 +939,20 @@ public class Javac extends MatchingTask 
         
         for (int i = 0; i < extensions.length; i++) {
             m.setFrom(extensions[i]);
-        m.setTo("*.class");
-        SourceFileScanner sfs = new SourceFileScanner(this);
-        File[] newFiles = sfs.restrictAsFiles(files, srcDir, destDir, m);
-
-        if (newFiles.length > 0) {
-            lookForPackageInfos(srcDir, newFiles);
-            File[] newCompileList
-                = new File[compileList.length + newFiles.length];
-            System.arraycopy(compileList, 0, newCompileList, 0,
-                    compileList.length);
-            System.arraycopy(newFiles, 0, newCompileList,
-                    compileList.length, newFiles.length);
-            compileList = newCompileList;
-        }
+            m.setTo("*.class");
+            SourceFileScanner sfs = new SourceFileScanner(this);
+            File[] newFiles = sfs.restrictAsFiles(files, srcDir, destDir, m);
+
+            if (newFiles.length > 0) {
+                lookForPackageInfos(srcDir, newFiles);
+                File[] newCompileList
+                    = new File[compileList.length + newFiles.length];
+                System.arraycopy(compileList, 0, newCompileList, 0,
+                                 compileList.length);
+                System.arraycopy(newFiles, 0, newCompileList,
+                                 compileList.length, newFiles.length);
+                compileList = newCompileList;
+            }
         }
     }
 



Mime
View raw message