changeset 839:65820d0d4a97

6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment) Reviewed-by: darcy
author jjg
date Thu, 09 Dec 2010 19:53:03 -0800
parents 4dd1c0176d81
children 2ca5866a8dfb
files src/share/classes/com/sun/source/util/Trees.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 18:33:32 2010 -0800
+++ b/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 19:53:03 2010 -0800
@@ -52,6 +52,7 @@
 public abstract class Trees {
     /**
      * Gets a Trees object for a given CompilationTask.
+     * @param task the compilation task for which to get the Trees object
      * @throws IllegalArgumentException if the task does not support the Trees API.
      */
     public static Trees instance(CompilationTask task) {
@@ -61,7 +62,8 @@
     }
 
     /**
-     * Gets a Trees object for a given CompilationTask.
+     * Gets a Trees object for a given ProcessingEnvironment.
+     * @param env the processing environment for which to get the Trees object
      * @throws IllegalArgumentException if the env does not support the Trees API.
      */
     public static Trees instance(ProcessingEnvironment env) {