Polish modifier declaration ordering
Follow that Java language specification.
This commit is contained in:
@@ -43,7 +43,7 @@ class Connection {
|
||||
private static final Pattern WEBSOCKET_KEY_PATTERN = Pattern
|
||||
.compile("^Sec-WebSocket-Key:(.*)$", Pattern.MULTILINE);
|
||||
|
||||
public final static String WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
||||
public static final String WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
||||
|
||||
private final Socket socket;
|
||||
|
||||
|
||||
@@ -606,7 +606,7 @@ public class Restarter {
|
||||
* Set the restarter instance (useful for testing).
|
||||
* @param instance the instance to set
|
||||
*/
|
||||
final static void setInstance(Restarter instance) {
|
||||
static final void setInstance(Restarter instance) {
|
||||
synchronized (INSTANCE_MONITOR) {
|
||||
Restarter.instance = instance;
|
||||
}
|
||||
|
||||
@@ -91,9 +91,9 @@ public class RestartClassLoader extends URLClassLoader implements SmartClassLoad
|
||||
}
|
||||
Method classLoadingLockMethod = ReflectionUtils.findMethod(ClassLoader.class,
|
||||
"getClassLoadingLock", String.class);
|
||||
this.classLoadingLockSupplier = classLoadingLockMethod != null
|
||||
? new StandardClassLoadingLockSupplier()
|
||||
: new Java6ClassLoadingLockSupplier();
|
||||
this.classLoadingLockSupplier = (classLoadingLockMethod != null
|
||||
? new StandardClassLoadingLockSupplier()
|
||||
: new Java6ClassLoadingLockSupplier());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -45,7 +45,7 @@ public class HttpTunnelPayload {
|
||||
|
||||
private static final int BUFFER_SIZE = 1024 * 100;
|
||||
|
||||
final protected static char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
|
||||
protected static final char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
|
||||
|
||||
private static final Log logger = LogFactory.getLog(HttpTunnelPayload.class);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public class SilentExitExceptionHandlerTests {
|
||||
|
||||
}
|
||||
|
||||
private static abstract class TestThread extends Thread {
|
||||
private abstract static class TestThread extends Thread {
|
||||
|
||||
private Throwable thrown;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user