You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jk...@apache.org on 2005/09/22 20:28:53 UTC

svn commit: r291000 - /ant/core/trunk/src/main/org/apache/tools/ant/AntTypeDefinition.java

Author: jkf
Date: Thu Sep 22 11:28:48 2005
New Revision: 291000

URL: http://svn.apache.org/viewcvs?rev=291000&view=rev
Log:
Testing svn installation (fixing some whitespace in the process)

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/AntTypeDefinition.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/AntTypeDefinition.java?rev=291000&r1=290999&r2=291000&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/AntTypeDefinition.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/AntTypeDefinition.java Thu Sep 22 11:28:48 2005
@@ -264,15 +264,13 @@
             throw new BuildException(msg, ncdfe);
         } catch (NoSuchMethodException nsme) {
             throw new BuildException("Could not create type " + name
-                    + " as the class " + c +" has no compatible constructor" );
+                    + " as the class " + c + " has no compatible constructor");
         } catch (InstantiationException nsme) {
-            throw new BuildException("Could not create type " +
-                    name
-                    + " as the class " + c + " is abstract");
-        } catch(IllegalAccessException e) {
-            throw new BuildException("Could not create type " +
-                    name
-                    + " as the constructor " + c + " is not accessible");
+            throw new BuildException("Could not create type "
+                    + name + " as the class " + c + " is abstract");
+        } catch (IllegalAccessException e) {
+            throw new BuildException("Could not create type "
+                    + name + " as the constructor " + c + " is not accessible");
         } catch (Throwable t) {
             throw new BuildException(
                 "Could not create type " + name + " due to " + t, t);



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