Skip to content

Commit 8908af4

Browse files
committed
Seriously, the whole 'l' vs 'll' thing is ridiculous.
The people in charge of what is 'standard' are just making changes for the heck of it aren't they?
1 parent 7ceceb8 commit 8908af4

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

recaf-core/src/main/java/software/coley/recaf/services/search/CancellableSearchFeedback.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
* @author Matt Coley
77
*/
88
public class CancellableSearchFeedback implements SearchFeedback {
9-
private boolean canceled;
9+
private boolean cancelled;
1010

1111
/**
1212
* Mark search as cancelled.
1313
*/
1414
public void cancel() {
15-
canceled = true;
15+
cancelled = true;
1616
}
1717

1818
@Override
1919
public boolean hasRequestedCancellation() {
20-
return canceled;
20+
return cancelled;
2121
}
2222
}

recaf-core/src/main/java/software/coley/recaf/services/transform/CancellableTransformationFeedback.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
* @author Matt Coley
77
*/
88
public class CancellableTransformationFeedback implements TransformationFeedback {
9-
private boolean canceled;
9+
private boolean cancelled;
1010

1111
/**
1212
* Mark transformation as cancelled.
1313
*/
1414
public void cancel() {
15-
canceled = true;
15+
cancelled = true;
1616
}
1717

1818
@Override
1919
public boolean hasRequestedCancellation() {
20-
return canceled;
20+
return cancelled;
2121
}
2222
}

recaf-ui/src/test/java/software/coley/recaf/services/script/ScriptRunControllerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void testStopAfterRestart() throws Exception {
4040
assertTrue(controller.isRunning(key));
4141
controller.requestStop();
4242

43-
// Wait for the script to acknowledge the stop request and verify it was canceled.
43+
// Wait for the script to acknowledge the stop request and verify it was cancelled.
4444
assertTrue(firstRun.get(5, TimeUnit.SECONDS).wasCancelled());
4545
assertFalse(controller.isRunning(key));
4646

@@ -51,7 +51,7 @@ void testStopAfterRestart() throws Exception {
5151
assertTrue(controller.isRunning(key));
5252
controller.requestStop();
5353

54-
// Wait for the script to acknowledge the stop request and verify it was canceled.
54+
// Wait for the script to acknowledge the stop request and verify it was cancelled.
5555
ScriptResult secondResult = secondRun.get(5, TimeUnit.SECONDS);
5656
assertTrue(secondResult.wasCancelled());
5757
assertFalse(controller.isRunning(key));
@@ -76,7 +76,7 @@ void testOnlyOneScriptRunsAtATime() throws Exception {
7676
assertTrue(secondRun.isCompletedExceptionally());
7777
assertFalse(controller.isRunning(secondKey));
7878

79-
// Request the first script to stop and verify it was canceled.
79+
// Request the first script to stop and verify it was cancelled.
8080
controller.requestStop();
8181
assertTrue(firstRun.get(5, TimeUnit.SECONDS).wasCancelled());
8282
assertFalse(controller.isRunning());

0 commit comments

Comments
 (0)