Browse Source

stylecheck

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274904 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 22 years ago
parent
commit
b668edbb68
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/main/org/apache/tools/ant/types/Description.java

+ 8
- 0
src/main/org/apache/tools/ant/types/Description.java View File

@@ -102,6 +102,14 @@ public class Description extends DataType {
}
}

/**
* return the descriptions from all the targets of
* a project.
*
* @param project the project to get the descriptions for.
* @return a string containing the concatenated descriptions of
* the targets.
*/
public static String getDescription(Project project) {
StringBuffer description = new StringBuffer();
Vector targets = (Vector) project.getReference("ant.targets");


Loading…
Cancel
Save