6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)

Thu, 09 Dec 2010 19:53:03 -0800

author
jjg
date
Thu, 09 Dec 2010 19:53:03 -0800
changeset 785
65820d0d4a97
parent 784
4dd1c0176d81
child 786
2ca5866a8dfb

6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)
Reviewed-by: darcy

src/share/classes/com/sun/source/util/Trees.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 18:33:32 2010 -0800
     1.2 +++ b/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 19:53:03 2010 -0800
     1.3 @@ -52,6 +52,7 @@
     1.4  public abstract class Trees {
     1.5      /**
     1.6       * Gets a Trees object for a given CompilationTask.
     1.7 +     * @param task the compilation task for which to get the Trees object
     1.8       * @throws IllegalArgumentException if the task does not support the Trees API.
     1.9       */
    1.10      public static Trees instance(CompilationTask task) {
    1.11 @@ -61,7 +62,8 @@
    1.12      }
    1.13  
    1.14      /**
    1.15 -     * Gets a Trees object for a given CompilationTask.
    1.16 +     * Gets a Trees object for a given ProcessingEnvironment.
    1.17 +     * @param env the processing environment for which to get the Trees object
    1.18       * @throws IllegalArgumentException if the env does not support the Trees API.
    1.19       */
    1.20      public static Trees instance(ProcessingEnvironment env) {

mercurial