Skip to content

Commit 06a25b4

Browse files
committed
make runnable final to prevent modification
1 parent 4e98bf9 commit 06a25b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/devcycle/sdk/server/local/managers/EnvironmentConfigManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private ScheduledExecutorService setupScheduler() {
6464
return Executors.newScheduledThreadPool(1, new DaemonThreadFactory());
6565
}
6666

67-
private Runnable getConfigRunnable = new Runnable() {
67+
private final Runnable getConfigRunnable = new Runnable() {
6868
public void run() {
6969
try {
7070
if (pollingEnabled) {

0 commit comments

Comments
 (0)