Skip to content

Commit

Permalink
make SchedKey final
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jun 14, 2024
1 parent a9584ec commit db33c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/test/java/jdocs/testkit/TestKitDocTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void demonstrateTestActorRef() {

// #timer
static class TestTimerActor extends AbstractActorWithTimers {
private static String SCHED_KEY = "SchedKey";
private static final String SCHED_KEY = "SchedKey";

static final class TriggerScheduling {}

Expand All @@ -110,7 +110,7 @@ void triggerScheduling() {
}

static class TestTimerUntypedActor extends UntypedAbstractActorWithTimers {
private static String SCHED_KEY = "SchedKey";
private static final String SCHED_KEY = "SchedKey";

static final class TriggerScheduling {}

Expand Down

0 comments on commit db33c00

Please sign in to comment.