From c72c5d65d15100ae4e24cf816ddd17dcb9335519 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Wed, 18 Jul 2007 09:58:53 +0000 Subject: [PATCH] checkstyle git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557212 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/ComponentHelper.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/org/apache/tools/ant/ComponentHelper.java b/src/main/org/apache/tools/ant/ComponentHelper.java index 69992f49e..a6df14495 100644 --- a/src/main/org/apache/tools/ant/ComponentHelper.java +++ b/src/main/org/apache/tools/ant/ComponentHelper.java @@ -913,7 +913,7 @@ public class ComponentHelper { */ 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 @@ public class ComponentHelper { */ private static class AntTypeTable extends Hashtable { private static final long serialVersionUID = -3060442320477772028L; - private Project project; AntTypeTable(Project project) { @@ -1033,8 +1032,8 @@ public class ComponentHelper { * @return the (possibly empty) list of definitions */ public List/**/ 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);