ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r526722 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb: DDCreator.java Ejbc.java
Date Mon, 09 Apr 2007 12:03:03 GMT
Author: jkf
Date: Mon Apr  9 05:03:02 2007
New Revision: 526722

URL: http://svn.apache.org/viewvc?view=rev&rev=526722
Log:
Optimization of the change commited yesterday.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java?view=diff&rev=526722&r1=526721&r2=526722
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java Mon
Apr  9 05:03:02 2007
@@ -68,12 +68,12 @@
         if (descriptorDirectory == null
             || !descriptorDirectory.isDirectory()) {
             throw new BuildException("descriptors directory "
-                + descriptorDirectory == null ? null : descriptorDirectory.getPath() + "
is not valid");
+                + descriptorDirectory + " is not valid");
         }
         if (generatedFilesDirectory == null
             || !generatedFilesDirectory.isDirectory()) {
             throw new BuildException("dest directory "
-                + generatedFilesDirectory == null ? null : generatedFilesDirectory.getPath()
+ " is not valid");
+                + generatedFilesDirectory + " is not valid");
         }
 
         String args = descriptorDirectory + " " + generatedFilesDirectory;

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java?view=diff&rev=526722&r1=526721&r2=526722
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java Mon Apr 
9 05:03:02 2007
@@ -82,18 +82,18 @@
         if (descriptorDirectory == null
             || !descriptorDirectory.isDirectory()) {
             throw new BuildException("descriptors directory "
-                + descriptorDirectory == null ? null : descriptorDirectory.getPath() + "
is not valid");
+                + descriptorDirectory + " is not valid");
         }
         if (generatedFilesDirectory == null
             || !generatedFilesDirectory.isDirectory()) {
             throw new BuildException("dest directory "
-                + generatedFilesDirectory == null ? null : generatedFilesDirectory.getPath()
+ " is not valid");
+                + generatedFilesDirectory + " is not valid");
         }
 
         if (sourceDirectory == null
             || !sourceDirectory.isDirectory()) {
             throw new BuildException("src directory "
-                + sourceDirectory == null ? null : sourceDirectory.getPath() + " is not valid");
+                + sourceDirectory + " is not valid");
         }
 
         String systemClassPath = System.getProperty("java.class.path");



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


Mime
View raw message