Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8276573: Use blessed modifier order in jdk.javadoc
Reviewed-by: jjg
  • Loading branch information
pavelrappo committed Nov 4, 2021
1 parent bf4ddf9 commit b57715a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Expand Up @@ -51,7 +51,7 @@
*/
public class DeprecatedListWriter extends SummaryListWriter<DeprecatedAPIListBuilder> {

private final static String TERMINALLY_DEPRECATED_KEY = "doclet.Terminally_Deprecated_Elements";
private static final String TERMINALLY_DEPRECATED_KEY = "doclet.Terminally_Deprecated_Elements";

/**
* Constructor.
Expand Down
Expand Up @@ -84,8 +84,8 @@ public class PackageWriterImpl extends HtmlDocletWriter
private final BodyContents bodyContents = new BodyContents();

// Maximum number of subpackages and sibling packages to list in related packages table
private final static int MAX_SUBPACKAGES = 20;
private final static int MAX_SIBLING_PACKAGES = 5;
private static final int MAX_SUBPACKAGES = 20;
private static final int MAX_SIBLING_PACKAGES = 5;


/**
Expand Down
Expand Up @@ -83,7 +83,7 @@ int nameStartPosition() {
* SinglyQuoted or Unquoted to form a (sealed) hierarchy. In that case,
* `Valued` should become abstract similarly to `Attribute`.
*/
final static class Valued extends Attribute {
static final class Valued extends Attribute {

private final String value;

Expand All @@ -104,7 +104,7 @@ public int valueStartPosition() {
}
}

final static class Valueless extends Attribute {
static final class Valueless extends Attribute {

Valueless(String name, int nameStartPosition) {
super(name, nameStartPosition);
Expand Down
Expand Up @@ -48,7 +48,7 @@
*/
public final class MarkupParser {

private final static int EOI = 0x1A;
private static final int EOI = 0x1A;
private char[] buf;
private int bp;
private int buflen;
Expand Down
Expand Up @@ -378,7 +378,7 @@ private String localize(String code, Object... args) {

// <editor-fold defaultstate="collapsed" desc="DeclScanner">

static abstract class DeclScanner extends TreePathScanner<Void, Void> {
abstract static class DeclScanner extends TreePathScanner<Void, Void> {
final Env env;

public DeclScanner(Env env) {
Expand Down

1 comment on commit b57715a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.