Skip to content

Commit 997a7e3

Browse files
committed
ContextInjectionTest: add missing final keywords
1 parent 0d3ce4c commit 997a7e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/scijava/ContextInjectionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public static class HasEventsContextual extends AbstractContextual {
289289
private boolean eventReceived;
290290

291291
@EventHandler
292-
private void onEvent(@SuppressWarnings("unused") SciJavaEvent e) {
292+
private void onEvent(@SuppressWarnings("unused") final SciJavaEvent e) {
293293
eventReceived = true;
294294
}
295295

@@ -304,7 +304,7 @@ public static class HasEventsPlain {
304304
private boolean eventReceived;
305305

306306
@EventHandler
307-
private void onEvent(@SuppressWarnings("unused") SciJavaEvent e) {
307+
private void onEvent(@SuppressWarnings("unused") final SciJavaEvent e) {
308308
eventReceived = true;
309309
}
310310

0 commit comments

Comments
 (0)