ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r557212 - /ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
Date Wed, 18 Jul 2007 09:58:57 GMT
Author: peterreilly
Date: Wed Jul 18 02:58:53 2007
New Revision: 557212

URL: http://svn.apache.org/viewvc?view=rev&rev=557212
Log:
checkstyle

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java?view=diff&rev=557212&r1=557211&r2=557212
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java Wed Jul 18 02:58:53
2007
@@ -913,7 +913,7 @@
      */
     private void printUnknownDefinition(PrintWriter out, String componentName, String dirListing)
{
         boolean isAntlib = componentName.indexOf(MagicNames.ANTLIB_PREFIX) == 0;
-        String uri=ProjectHelper.extractUriFromComponentName(componentName);
+        String uri = ProjectHelper.extractUriFromComponentName(componentName);
         out.println("Cause: The name is undefined.");
         out.println("Action: Check the spelling.");
         out.println("Action: Check that any custom tasks/types have been declared.");
@@ -982,7 +982,6 @@
      */
     private static class AntTypeTable extends Hashtable {
         private static final long serialVersionUID = -3060442320477772028L;
-        
         private Project project;
 
         AntTypeTable(Project project) {
@@ -1033,8 +1032,8 @@
          * @return the (possibly empty) list of definitions
          */
         public List/*<AntTypeDefinition>*/ findMatches(String prefix) {
-            ArrayList matches=new ArrayList();
-            for (Iterator i = values().iterator(); i.hasNext() ;) {
+            ArrayList matches = new ArrayList();
+            for (Iterator i = values().iterator(); i.hasNext();) {
                 AntTypeDefinition def = (AntTypeDefinition) (i.next());
                 if (def.getName().startsWith(prefix)) {
                     matches.add(def);



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


Mime
View raw message