Order modifiers to align with JLS
This commit also applies Checkstyle ModifierOrder to enforce it. See gh-31368
This commit is contained in:
committed by
Stéphane Nicoll
parent
f60791a8e2
commit
919faa2ce2
@@ -64,7 +64,7 @@ public final class RuntimeHintsAgent {
|
||||
return loaded;
|
||||
}
|
||||
|
||||
private final static class ParsedArguments {
|
||||
private static final class ParsedArguments {
|
||||
|
||||
List<String> instrumentedPackages;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public final class RuntimeHintsRecorder {
|
||||
* @param action the block of code we want to record invocations from
|
||||
* @return the recorded invocations
|
||||
*/
|
||||
public synchronized static RuntimeHintsInvocations record(Runnable action) {
|
||||
public static synchronized RuntimeHintsInvocations record(Runnable action) {
|
||||
Assert.notNull(action, "Runnable action must not be null");
|
||||
Assert.state(RuntimeHintsAgent.isLoaded(), "RuntimeHintsAgent must be loaded in the current JVM");
|
||||
RuntimeHintsRecorder recorder = new RuntimeHintsRecorder();
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
|
||||
*/
|
||||
class ClassFileTests {
|
||||
|
||||
private final static byte[] TEST_CONTENT = new byte[]{'a'};
|
||||
private static final byte[] TEST_CONTENT = new byte[]{'a'};
|
||||
|
||||
@Test
|
||||
void ofNameAndByteArrayCreatesClass() {
|
||||
|
||||
Reference in New Issue
Block a user