Skip to content

Commit c114c34

Browse files
committed
Reorder modifiers to match JLS
1 parent dc7bfe7 commit c114c34

File tree

1 file changed

+6
-6
lines changed
  • resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources

1 file changed

+6
-6
lines changed

resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TestPerformer.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* For debugging certain failure cases, insert a breakpoint in performTestRecursiveLoop
2323
* according to the comment in that method.
2424
*/
25-
abstract public class TestPerformer {
25+
public abstract class TestPerformer {
2626
private int count = 0;
2727

2828
/**
@@ -41,9 +41,9 @@ public Object[] interestingOldState(Object[] args) throws Exception {
4141
return null;
4242
}
4343

44-
abstract public Object invokeMethod(Object[] args, int countArg) throws Exception;
44+
public abstract Object invokeMethod(Object[] args, int countArg) throws Exception;
4545

46-
final public void performTest(Object[][] inputs) {
46+
public final void performTest(Object[][] inputs) {
4747
// call helper method
4848
int permutations = 1;
4949
for (Object[] input : inputs) {
@@ -115,7 +115,7 @@ private void performTestRecursiveLoop(Object[][] inputs, Object[] args, int nth)
115115
/**
116116
* scrambles an array in a deterministic manner (note the constant seed...).
117117
*/
118-
static protected void scramble(Object[] first) {
118+
protected static void scramble(Object[] first) {
119119
Random random = new Random(4711);
120120

121121
final int len = first.length;
@@ -139,7 +139,7 @@ static protected void scramble(Object[] first) {
139139
}
140140
}
141141

142-
abstract public boolean shouldFail(Object[] args, int countArg);
142+
public abstract boolean shouldFail(Object[] args, int countArg);
143143

144-
abstract public boolean wasSuccess(Object[] args, Object result, Object[] oldState) throws Exception;
144+
public abstract boolean wasSuccess(Object[] args, Object result, Object[] oldState) throws Exception;
145145
}

0 commit comments

Comments
 (0)