8075529: Documentation in DocumentationTool.getTask(...) should mention about "null" parameter for doclet.
authorksrini
Tue, 09 Aug 2016 07:31:16 -0700
changeset 40301 c20170571b84
parent 40238 4d2a15091124
child 40302 8c0d8d2c3519
8075529: Documentation in DocumentationTool.getTask(...) should mention about "null" parameter for doclet. Reviewed-by: jjg
langtools/src/java.compiler/share/classes/javax/tools/DocumentationTool.java
--- a/langtools/src/java.compiler/share/classes/javax/tools/DocumentationTool.java	Wed Jul 05 22:04:04 2017 +0200
+++ b/langtools/src/java.compiler/share/classes/javax/tools/DocumentationTool.java	Tue Aug 09 07:31:16 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,7 @@
      * use the tool's default method for reporting diagnostics
      *
      * @param docletClass a class providing the necessary methods required
-     * of a doclet
+     * of a doclet; a value of {@code null} means to use the standard doclet.
      *
      * @param options documentation tool options and doclet options,
      * {@code null} means no options