Browse Source

getDescription() now computes the description ( on demand ) using

the tree.

If ProjectHelperImpl is used - no differences should be visible.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273669 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
0d7633caa6
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/main/org/apache/tools/ant/Project.java

+ 5
- 0
src/main/org/apache/tools/ant/Project.java View File

@@ -67,6 +67,7 @@ import org.apache.tools.ant.input.DefaultInputHandler;
import org.apache.tools.ant.input.InputHandler;
import org.apache.tools.ant.types.FilterSet;
import org.apache.tools.ant.types.FilterSetCollection;
import org.apache.tools.ant.types.Description;
import org.apache.tools.ant.util.FileUtils;
import org.apache.tools.ant.util.JavaEnvUtils;
import org.apache.tools.ant.util.WeakishReference;
@@ -694,6 +695,10 @@ public class Project {
* been set.
*/
public String getDescription() {
if( description== null ) {
description=Description.getDescription(this);
}

return description;
}



Loading…
Cancel
Save