make SchedKey final (#1365)

This commit is contained in:
PJ Fanning 2024-06-14 10:02:09 +01:00 committed by GitHub
parent a9584ec520
commit 6cdd3e9f49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ public class TestKitDocTest extends AbstractJavaTest {
// #timer
static class TestTimerActor extends AbstractActorWithTimers {
private static String SCHED_KEY = "SchedKey";
private static final String SCHED_KEY = "SchedKey";
static final class TriggerScheduling {}
@ -110,7 +110,7 @@ public class TestKitDocTest extends AbstractJavaTest {
}
static class TestTimerUntypedActor extends UntypedAbstractActorWithTimers {
private static String SCHED_KEY = "SchedKey";
private static final String SCHED_KEY = "SchedKey";
static final class TriggerScheduling {}