ndimiduk commented on code in PR #383:
URL: https://github.com/apache/yetus/pull/383#discussion_r3166654356
##########
audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/ExcludePrivateAnnotationsStandardDoclet.java:
##########
@@ -25,34 +25,70 @@
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Set;
-import java.util.TreeSet;
/**
* A {@link jdk.javadoc.doclet.Doclet}
* for excluding elements that are annotated with
* {@link org.apache.yetus.audience.InterfaceAudience.Private} or
* {@link org.apache.yetus.audience.InterfaceAudience.LimitedPrivate}.
* It delegates to the Standard Doclet, and takes the same options.
+ * Subclasses may override {@link #getName()}, {@link #getSupportedOptions()},
+ * and {@link #run(DocletEnvironment)} to customize behavior.
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class ExcludePrivateAnnotationsStandardDoclet extends StandardDoclet {
- protected DocletEnvironmentProcessor processor = new
DocletEnvironmentProcessor();
+ /** Default constructor. */
+ public ExcludePrivateAnnotationsStandardDoclet() {
+ super();
+ }
+
+ /** The doclet environment processor. */
+ private DocletEnvironmentProcessor processor =
Review Comment:
FYI, making this `private` is a compatibility-breaking change.
##########
pom.xml:
##########
Review Comment:
Why the pom changes?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]