Skip to content

Commit

Permalink
Replace single underscore identifiers with regular names.
Browse files Browse the repository at this point in the history
'_' is a reserved keyword since java 8
  • Loading branch information
mbien committed Feb 10, 2024
1 parent 726c800 commit ae1fc9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,7 @@ public void invokeAction(final String command, final Lookup context) throws Ille
doRun();
} finally {
if (task != null) {
task.addTaskListener(new TaskListener() {
@Override public void taskFinished(Task _) {
listener.finished(task.result() == 0);
}
});
task.addTaskListener((Task t) -> listener.finished(task.result() == 0));
} else {
listener.finished(false);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public AsmTest(String n) {

public static class C {
static final long x = 123L; // test CONSTANT_Long, tricky!
private C(boolean _) {}
private C(boolean b) {}
@PatchedPublic
private C(int _) {}
private C(int i) {}
private void m1() {}
@PatchedPublic
private void m2() {}
Expand Down

0 comments on commit ae1fc9f

Please sign in to comment.