You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2006/08/28 21:59:43 UTC

svn commit: r437807 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Ant.java

Author: mbenson
Date: Mon Aug 28 12:59:41 2006
New Revision: 437807

URL: http://svn.apache.org/viewvc?rev=437807&view=rev
Log:
some ws

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Ant.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Ant.java?rev=437807&r1=437806&r2=437807&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Ant.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Ant.java Mon Aug 28 12:59:41 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright  2000-2005 The Apache Software Foundation
+ * Copyright 2000-2006 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -287,7 +287,7 @@
                 reinit();
             }
 
-            if ((dir == null) && (inheritAll)) {
+            if (dir == null && inheritAll) {
                 dir = getProject().getBaseDir();
             }
 
@@ -297,7 +297,7 @@
                 newProject.setBaseDir(dir);
                 if (savedDir != null) {
                     // has been set explicitly
-                    newProject.setInheritedProperty(MagicNames.PROJECT_BASEDIR ,
+                    newProject.setInheritedProperty(MagicNames.PROJECT_BASEDIR,
                                                     dir.getAbsolutePath());
                 }
             } else {



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