diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java b/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java
index 8e28d412ef5..0d2678f55a8 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, 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
@@ -153,7 +153,7 @@ public interface Doclet {
/**
* The kind of an option.
*/
- public static enum Kind {
+ enum Kind {
/** an extended option, such as those prefixed with -X */
EXTENDED,
/** a standard option */
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
index b94b58d98d9..208e1f1e3a1 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
@@ -510,11 +510,11 @@ public abstract class AbstractMemberWriter implements MemberSummaryWriter {
private Content exceptions;
// Threshold for length of type parameters before switching from inline to block representation.
- private final static int TYPE_PARAMS_MAX_INLINE_LENGTH = 50;
+ private static final int TYPE_PARAMS_MAX_INLINE_LENGTH = 50;
// Threshold for combined length of modifiers, type params and return type before breaking
// it up with a line break before the return type.
- private final static int RETURN_TYPE_MAX_LINE_LENGTH = 50;
+ private static final int RETURN_TYPE_MAX_LINE_LENGTH = 50;
/**
* Create a new member signature builder.
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java
index 06cdcacc384..a73b28f98ef 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java
@@ -304,7 +304,7 @@ public class DocFilesHandlerImpl implements DocFilesHandler {
/**
* Constructor to construct the HtmlDocletWriter object.
*
- * @param configuration the configuruation of this doclet.
+ * @param configuration the configuration of this doclet.
* @param path the file to be generated.
* @param e the anchoring element.
*/
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java
index aed32126ea8..3160fafd7b8 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java
@@ -79,7 +79,7 @@ public class HtmlSerialFieldWriter extends FieldWriterImpl
/**
* Return the header for serializable fields content section.
*
- * @param isLastContent true if the cotent being documented is the last content.
+ * @param isLastContent true if the content being documented is the last content.
* @return a content tree for the header
*/
public Content getFieldsContentHeader(boolean isLastContent) {
@@ -92,7 +92,7 @@ public class HtmlSerialFieldWriter extends FieldWriterImpl
* Add serializable fields.
*
* @param heading the heading for the section
- * @param serializableFieldsTree the tree to be added to the serializable fileds
+ * @param serializableFieldsTree the tree to be added to the serializable fields
* content tree
* @return a content tree for the serializable fields content
*/
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialMethodWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialMethodWriter.java
index 5fa40b9b3b3..12645c68261 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialMethodWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialMethodWriter.java
@@ -69,7 +69,7 @@ public class HtmlSerialMethodWriter extends MethodWriterImpl implements
/**
* Return the header for serializable methods content section.
*
- * @param isLastContent true if the cotent being documented is the last content.
+ * @param isLastContent true if the content being documented is the last content.
* @return a content tree for the header
*/
public Content getMethodsContentHeader(boolean isLastContent) {
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java
index a115095077a..4767d723e6a 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java
@@ -44,9 +44,9 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocPaths;
/**
* Writes a file that tries to redirect to an alternate page.
* The redirect uses JavaScript, if enabled, falling back on
- * {@code }.
+ * {@code }.
* If neither are supported/enabled in a browser, the page displays the
- * standard "JavaScipt not enabled" message, and a link to the alternate page.
+ * standard "JavaScript not enabled" message, and a link to the alternate page.
*/
public class IndexRedirectWriter extends HtmlDocletWriter {
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java
index 2dfd84e0f14..e6afd640faf 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java
@@ -168,13 +168,13 @@ public class MethodWriterImpl extends AbstractExecutableMemberWriter
? utils.getSimpleName(holder)
: utils.getFullyQualifiedName(holder),
false);
- Content codelLink = HtmlTree.CODE(link);
+ Content codeLink = HtmlTree.CODE(link);
Content descfrmLabel = HtmlTree.SPAN(HtmlStyle.descfrmTypeLabel,
utils.isClass(holder)
? contents.descfrmClassLabel
: contents.descfrmInterfaceLabel);
descfrmLabel.add(Entity.NO_BREAK_SPACE);
- descfrmLabel.add(codelLink);
+ descfrmLabel.add(codeLink);
methodDocTree.add(HtmlTree.DIV(HtmlStyle.block, descfrmLabel));
writer.addInlineComment(method, methodDocTree);
}
@@ -328,7 +328,7 @@ public class MethodWriterImpl extends AbstractExecutableMemberWriter
dl.add(dt);
Content overriddenTypeLink =
writer.getLink(new LinkInfoImpl(writer.configuration, context, overriddenType));
- Content codeOverridenTypeLink = HtmlTree.CODE(overriddenTypeLink);
+ Content codeOverriddenTypeLink = HtmlTree.CODE(overriddenTypeLink);
Content methlink = writer.getLink(
new LinkInfoImpl(writer.configuration, LinkInfoImpl.Kind.MEMBER,
holder)
@@ -338,7 +338,7 @@ public class MethodWriterImpl extends AbstractExecutableMemberWriter
dd.add(Entity.NO_BREAK_SPACE);
dd.add(writer.contents.inClass);
dd.add(Entity.NO_BREAK_SPACE);
- dd.add(codeOverridenTypeLink);
+ dd.add(codeOverriddenTypeLink);
dl.add(dd);
}
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java
index 8fb391dfc66..8d0b13499f8 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java
@@ -281,7 +281,7 @@ public class ModuleWriterImpl extends HtmlDocletWriter implements ModuleSummaryW
}
packages.put(pkg, e);
}
- };
+ }
// Get all exported packages for the module, using the exports directive for the module.
for (ModuleElement.ExportsDirective directive : ElementFilter.exportsIn(mdle.getDirectives())) {
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageTreeWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageTreeWriter.java
index 6c3e9195dea..52d54ea4134 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageTreeWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageTreeWriter.java
@@ -81,7 +81,7 @@ public class PackageTreeWriter extends AbstractTreeWriter {
* @param configuration the configuration for this run.
* @param pkg Package for which tree file is to be generated.
* @param noDeprecated If true, do not generate any information for
- * deprecated classe or interfaces.
+ * deprecated classes or interfaces.
* @throws DocFileIOException if there is a problem generating the package tree page
*/
public static void generate(HtmlConfiguration configuration,
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
index 26d71c63843..fee66406480 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
@@ -148,7 +148,7 @@ public class Head {
* @param timestamp true if timestamps should be be added.
* @return this object
*/
- // For temporary backwards compatibiility, if this method is not called,
+ // For temporary backwards compatibility, if this method is not called,
// no 'Generated by javadoc' comment will be added.
public Head setTimestamp(boolean timestamp) {
showTimestamp = timestamp;
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTag.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTag.java
index 40c626c16f4..631a70bdcc9 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTag.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTag.java
@@ -97,7 +97,7 @@ public enum HtmlTag {
/**
* Enum representing the type of HTML element.
*/
- public static enum BlockType {
+ public enum BlockType {
BLOCK,
INLINE,
OTHER
@@ -106,7 +106,7 @@ public enum HtmlTag {
/**
* Enum representing HTML end tag requirement.
*/
- public static enum EndTag {
+ public enum EndTag {
END,
NOEND
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/package-info.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/package-info.java
index 26cf40285e5..7efa408f87f 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/package-info.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, 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
@@ -24,7 +24,7 @@
*/
/**
- * Doclets provide the user-selectable backends for processing the
+ * Doclets provide the user-selectable back ends for processing the
* documentation comments in Java source code.
*
*
Doclets are implementations of the {@link jdk.javadoc.doclet Doclet API}.
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeFieldWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeFieldWriter.java
index b2e7a57e544..8b431b7432c 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeFieldWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeFieldWriter.java
@@ -44,21 +44,21 @@ public interface AnnotationTypeFieldWriter {
*
* @return content tree for the member tree header
*/
- public Content getMemberTreeHeader();
+ Content getMemberTreeHeader();
/**
* Add the annotation type field details marker.
*
* @param memberDetails the content tree representing field details marker
*/
- public void addAnnotationFieldDetailsMarker(Content memberDetails);
+ void addAnnotationFieldDetailsMarker(Content memberDetails);
/**
* Add the annotation type details tree header.
*
* @param typeElement the annotation type being documented
*/
- public Content getAnnotationDetailsTreeHeader(TypeElement typeElement);
+ Content getAnnotationDetailsTreeHeader(TypeElement typeElement);
/**
* Get the annotation type documentation tree header.
@@ -67,7 +67,7 @@ public interface AnnotationTypeFieldWriter {
* @param annotationDetailsTree the content tree representing annotation type details
* @return content tree for the annotation type documentation header
*/
- public Content getAnnotationDocTreeHeader(Element member, Content annotationDetailsTree);
+ Content getAnnotationDocTreeHeader(Element member, Content annotationDetailsTree);
/**
* Get the annotation type details tree.
@@ -76,7 +76,7 @@ public interface AnnotationTypeFieldWriter {
* @param annotationDetailsTree the content tree representing annotation type details
* @return content tree for the annotation type details
*/
- public Content getAnnotationDetails(Content annotationDetailsTreeHeader, Content annotationDetailsTree);
+ Content getAnnotationDetails(Content annotationDetailsTreeHeader, Content annotationDetailsTree);
/**
* Get the annotation type documentation.
@@ -84,7 +84,7 @@ public interface AnnotationTypeFieldWriter {
* @param annotationDocTree the content tree representing annotation type documentation
* @return content tree for the annotation type documentation
*/
- public Content getAnnotationDoc(Content annotationDocTree);
+ Content getAnnotationDoc(Content annotationDocTree);
/**
* Get the signature for the given member.
@@ -92,7 +92,7 @@ public interface AnnotationTypeFieldWriter {
* @param member the member being documented
* @return content tree for the annotation type signature
*/
- public Content getSignature(Element member);
+ Content getSignature(Element member);
/**
* Add the deprecated output for the given member.
@@ -100,7 +100,7 @@ public interface AnnotationTypeFieldWriter {
* @param member the member being documented
* @param annotationDocTree content tree to which the deprecated information will be added
*/
- public void addDeprecated(Element member, Content annotationDocTree);
+ void addDeprecated(Element member, Content annotationDocTree);
/**
* Add the comments for the given member.
@@ -108,7 +108,7 @@ public interface AnnotationTypeFieldWriter {
* @param member the member being documented
* @param annotationDocTree the content tree to which the comments will be added
*/
- public void addComments(Element member, Content annotationDocTree);
+ void addComments(Element member, Content annotationDocTree);
/**
* Add the tags for the given member.
@@ -116,5 +116,5 @@ public interface AnnotationTypeFieldWriter {
* @param member the member being documented
* @param annotationDocTree the content tree to which the tags will be added
*/
- public void addTags(Element member, Content annotationDocTree);
+ void addTags(Element member, Content annotationDocTree);
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeOptionalMemberWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeOptionalMemberWriter.java
index 3906fb1dea1..60eb2ac9bdf 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeOptionalMemberWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeOptionalMemberWriter.java
@@ -45,5 +45,5 @@ public interface AnnotationTypeOptionalMemberWriter extends
* @param member the member being documented
* @param annotationDocTree content tree to which the default value will be added
*/
- public void addDefaultValueInfo(Element member, Content annotationDocTree);
+ void addDefaultValueInfo(Element member, Content annotationDocTree);
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeRequiredMemberWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeRequiredMemberWriter.java
index ae8e25cee19..07411b7df4d 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeRequiredMemberWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeRequiredMemberWriter.java
@@ -44,21 +44,21 @@ public interface AnnotationTypeRequiredMemberWriter {
*
* @return content tree for the member tree header
*/
- public Content getMemberTreeHeader();
+ Content getMemberTreeHeader();
/**
* Add the annotation type details marker.
*
* @param memberDetails the content tree representing details marker
*/
- public void addAnnotationDetailsMarker(Content memberDetails);
+ void addAnnotationDetailsMarker(Content memberDetails);
/**
* Add the annotation type details tree header.
*
* @param typeElement the annotation type being documented
*/
- public Content getAnnotationDetailsTreeHeader(TypeElement typeElement);
+ Content getAnnotationDetailsTreeHeader(TypeElement typeElement);
/**
* Get the annotation type documentation tree header.
@@ -67,8 +67,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param annotationDetailsTree the content tree representing annotation type details
* @return content tree for the annotation type documentation header
*/
- public Content getAnnotationDocTreeHeader(Element member,
- Content annotationDetailsTree);
+ Content getAnnotationDocTreeHeader(Element member, Content annotationDetailsTree);
/**
* Get the annotation type details tree.
@@ -77,7 +76,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param annotationDetailsTree the content tree representing annotation type details
* @return content tree for the annotation type details
*/
- public Content getAnnotationDetails(Content annotationDetailsTreeHeader, Content annotationDetailsTree);
+ Content getAnnotationDetails(Content annotationDetailsTreeHeader, Content annotationDetailsTree);
/**
* Get the annotation type documentation.
@@ -85,7 +84,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param annotationDocTree the content tree representing annotation type documentation
* @return content tree for the annotation type documentation
*/
- public Content getAnnotationDoc(Content annotationDocTree);
+ Content getAnnotationDoc(Content annotationDocTree);
/**
* Get the signature for the given member.
@@ -93,7 +92,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param member the member being documented
* @return content tree for the annotation type signature
*/
- public Content getSignature(Element member);
+ Content getSignature(Element member);
/**
* Add the deprecated output for the given member.
@@ -101,7 +100,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param member the member being documented
* @param annotationDocTree content tree to which the deprecated information will be added
*/
- public void addDeprecated(Element member, Content annotationDocTree);
+ void addDeprecated(Element member, Content annotationDocTree);
/**
* Add the comments for the given member.
@@ -109,7 +108,7 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param member the member being documented
* @param annotationDocTree the content tree to which the comments will be added
*/
- public void addComments(Element member, Content annotationDocTree);
+ void addComments(Element member, Content annotationDocTree);
/**
* Add the tags for the given member.
@@ -117,5 +116,5 @@ public interface AnnotationTypeRequiredMemberWriter {
* @param member the member being documented
* @param annotationDocTree the content tree to which the tags will be added
*/
- public void addTags(Element member, Content annotationDocTree);
+ void addTags(Element member, Content annotationDocTree);
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java
index 52e3c3810c4..bdd4b478aa6 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java
@@ -46,21 +46,21 @@ public interface AnnotationTypeWriter {
* @param header the header string to write
* @return a content tree for the header documentation
*/
- public Content getHeader(String header);
+ Content getHeader(String header);
/**
* Get the annotation content header.
*
* @return annotation content header that needs to be added to the documentation
*/
- public Content getAnnotationContentHeader();
+ Content getAnnotationContentHeader();
/**
* Get the annotation information tree header.
*
* @return annotation information tree header that needs to be added to the documentation
*/
- public Content getAnnotationInfoTreeHeader();
+ Content getAnnotationInfoTreeHeader();
/**
* Get the annotation information.
@@ -68,7 +68,7 @@ public interface AnnotationTypeWriter {
* @param annotationInfoTree content tree containing the annotation information
* @return a content tree for the annotation
*/
- public Content getAnnotationInfo(Content annotationInfoTree);
+ Content getAnnotationInfo(Content annotationInfoTree);
/**
* Add the signature of the current annotation type.
@@ -76,42 +76,42 @@ public interface AnnotationTypeWriter {
* @param modifiers the modifiers for the signature
* @param annotationInfoTree the annotation content tree to which the signature will be added
*/
- public void addAnnotationTypeSignature(String modifiers, Content annotationInfoTree);
+ void addAnnotationTypeSignature(String modifiers, Content annotationInfoTree);
/**
* Build the annotation type description.
*
* @param annotationInfoTree content tree to which the description will be added
*/
- public void addAnnotationTypeDescription(Content annotationInfoTree);
+ void addAnnotationTypeDescription(Content annotationInfoTree);
/**
* Add the tag information for the current annotation type.
*
* @param annotationInfoTree content tree to which the tag information will be added
*/
- public void addAnnotationTypeTagInfo(Content annotationInfoTree);
+ void addAnnotationTypeTagInfo(Content annotationInfoTree);
/**
* If this annotation is deprecated, add the appropriate information.
*
* @param annotationInfoTree content tree to which the deprecated information will be added
*/
- public void addAnnotationTypeDeprecationInfo (Content annotationInfoTree);
+ void addAnnotationTypeDeprecationInfo(Content annotationInfoTree);
/**
* Get the member tree header for the annotation type.
*
* @return a content tree for the member tree header
*/
- public Content getMemberTreeHeader();
+ Content getMemberTreeHeader();
/**
* Add the annotation content tree to the documentation content tree.
*
* @param annotationContentTree annotation content tree which will be added to the content tree
*/
- public void addAnnotationContentTree(Content annotationContentTree);
+ void addAnnotationContentTree(Content annotationContentTree);
/**
* Get the member tree.
@@ -119,7 +119,7 @@ public interface AnnotationTypeWriter {
* @param memberTree the content tree that will be modified and returned
* @return a content tree for the member
*/
- public Content getMemberTree(Content memberTree);
+ Content getMemberTree(Content memberTree);
/**
* Get the member summary tree.
@@ -127,7 +127,7 @@ public interface AnnotationTypeWriter {
* @param memberTree the content tree that will be used to build the summary tree
* @return a content tree for the member summary
*/
- public Content getMemberSummaryTree(Content memberTree);
+ Content getMemberSummaryTree(Content memberTree);
/**
* Get the member details tree.
@@ -135,12 +135,12 @@ public interface AnnotationTypeWriter {
* @param memberTree the content tree that will be used to build the details tree
* @return a content tree for the member details
*/
- public Content getMemberDetailsTree(Content memberTree);
+ Content getMemberDetailsTree(Content memberTree);
/**
* Add the footer of the page.
*/
- public void addFooter();
+ void addFooter();
/**
* Print the document.
@@ -148,12 +148,12 @@ public interface AnnotationTypeWriter {
* @param contentTree content tree that will be printed as a document
* @throws DocFileIOException if there is a problem while writing the document
*/
- public void printDocument(Content contentTree) throws DocFileIOException;
+ void printDocument(Content contentTree) throws DocFileIOException;
/**
* Return the {@link TypeElement} being documented.
*
* @return the TypeElement representing the annotation being documented.
*/
- public TypeElement getAnnotationTypeElement();
+ TypeElement getAnnotationTypeElement();
}
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
index 46a0b7b1bf9..04915159707 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
@@ -106,7 +106,7 @@ public abstract class BaseConfiguration {
public String tagletpath = null;
/**
- * This is true if option "-serialwarn" is used. Defualt value is false to
+ * This is true if option "-serialwarn" is used. Default value is false to
* suppress excessive warnings about serial tag.
*/
public boolean serialwarn = false;
@@ -243,8 +243,8 @@ public abstract class BaseConfiguration {
/**
* Don't generate deprecated API information at all, if -nodeprecated
- * option is used. nodepracted is set to true if
- * -nodeprecated option is used. Default is generate deprected API
+ * option is used. nodeprecated is set to true if
+ * -nodeprecated option is used. Default is generate deprecated API
* information.
*/
public boolean nodeprecated = false;
@@ -1092,7 +1092,7 @@ public abstract class BaseConfiguration {
public abstract boolean showMessage(Element e, String key);
- public static abstract class Option implements Doclet.Option, Comparable