Skip to content
Permalink
Browse files
8277012: Use blessed modifier order in src/utils
Reviewed-by: dholmes, stuefe
  • Loading branch information
magicus committed Nov 12, 2021
1 parent 13deb38 commit c4b44329c1d250f790ca82dd419cdf3330da16f5
Showing 10 changed files with 25 additions and 25 deletions.
@@ -188,7 +188,7 @@ public void run() {

}

final static class ResolvableHelper implements Serializable {
static final class ResolvableHelper implements Serializable {

private static final long serialVersionUID = 1L;

@@ -165,7 +165,7 @@ public void requestActive() {
scene.getView().requestFocus();
}

final static class ResolvableHelper implements Serializable {
static final class ResolvableHelper implements Serializable {

private static final long serialVersionUID = 1L;

@@ -91,7 +91,7 @@ private interface LengthToString {
String toString(Length l);
}

private static abstract class Member implements LengthToString {
private abstract static class Member implements LengthToString {
public final Klass holder;
public final int accessFlags;
public final String name;
@@ -659,7 +659,7 @@ public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExcept
updateComboBox();
}

final static class ResolvableHelper implements Serializable {
static final class ResolvableHelper implements Serializable {

private static final long serialVersionUID = 1L;

@@ -32,18 +32,18 @@
*/
public class Settings {

public final static String NODE_TEXT = "nodeText";
public final static String NODE_TEXT_DEFAULT = "[idx] [name]";
public final static String NODE_SHORT_TEXT = "nodeShortText";
public final static String NODE_SHORT_TEXT_DEFAULT = "[idx] [name]";
public final static String NODE_WIDTH = "nodeWidth";
public final static String NODE_WIDTH_DEFAULT = "100";
public final static String PORT = "port";
public final static String PORT_BINARY = "portBinary";
public final static String PORT_DEFAULT = "4444";
public final static String PORT_BINARY_DEFAULT = "4445";
public final static String DIRECTORY = "directory";
public final static String DIRECTORY_DEFAULT = System.getProperty("user.dir");
public static final String NODE_TEXT = "nodeText";
public static final String NODE_TEXT_DEFAULT = "[idx] [name]";
public static final String NODE_SHORT_TEXT = "nodeShortText";
public static final String NODE_SHORT_TEXT_DEFAULT = "[idx] [name]";
public static final String NODE_WIDTH = "nodeWidth";
public static final String NODE_WIDTH_DEFAULT = "100";
public static final String PORT = "port";
public static final String PORT_BINARY = "portBinary";
public static final String PORT_DEFAULT = "4444";
public static final String PORT_BINARY_DEFAULT = "4445";
public static final String DIRECTORY = "directory";
public static final String DIRECTORY_DEFAULT = System.getProperty("user.dir");

public static Preferences get() {
return Preferences.userNodeForPackage(Settings.class);
@@ -90,5 +90,5 @@ public void setCompilation(Compilation compilation) {
this.compilation = compilation;
}

abstract public void print(PrintStream stream, boolean printID);
public abstract void print(PrintStream stream, boolean printID);
}
@@ -54,9 +54,9 @@ class LogCleanupReader extends Reader {
reader = r;
}

static final private Matcher duplicateCompileID = Pattern.compile(".+ compile_id='[0-9]+'.*( compile_id='[0-9]+)").matcher("");
static final private Matcher compilerName = Pattern.compile("' (C[12]) compile_id=").matcher("");
static final private Matcher destroyVM = Pattern.compile("'(destroy_vm)/").matcher("");
private static final Matcher duplicateCompileID = Pattern.compile(".+ compile_id='[0-9]+'.*( compile_id='[0-9]+)").matcher("");
private static final Matcher compilerName = Pattern.compile("' (C[12]) compile_id=").matcher("");
private static final Matcher destroyVM = Pattern.compile("'(destroy_vm)/").matcher("");

/**
* The log cleanup takes place in this method. If any of the three patterns
@@ -439,9 +439,9 @@ class Jvms {
this.method = method;
this.bci = bci;
}
final public Method method;
final public int bci;
final public String toString() {
public final Method method;
public final int bci;
public final String toString() {
return "@" + bci + " " + method;
}
}
@@ -57,7 +57,7 @@ public class CommentChecker {
static int errors = 0;

// Turn on this flag and recompile to dump this tool's state changes.
final static boolean verbose = false;
static final boolean verbose = false;

static void check(String fileName) {
BufferedReader in = null;
@@ -29,7 +29,7 @@
import java.util.TreeSet;

public class DirDiff implements Runnable {
private final static String FILE_SEPARATOR = System.getProperty("file.separator");
private static final String FILE_SEPARATOR = System.getProperty("file.separator");
private static final boolean traversSccsDirs;
private static final boolean recurseExtraDirs;
private static final boolean verboseMode;

1 comment on commit c4b4432

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on c4b4432 Nov 12, 2021

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.