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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]