Skip to content

Commit

Permalink
Using capital case for static final field.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Dec 2, 2020
1 parent 97b3f26 commit fe0e076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class Scanner extends AbstractLifeCycle
public static final int DEFAULT_SCAN_DEPTH = 1;
public static final int MAX_SCAN_DEPTH = Integer.MAX_VALUE;
private static final Logger LOG = LoggerFactory.getLogger(Scanner.class);
private static final AtomicInteger __scannerId = new AtomicInteger();
private static final AtomicInteger SCANNER_IDS = new AtomicInteger();

private int _scanInterval;
private final AtomicInteger _scanCount = new AtomicInteger(0);
Expand Down Expand Up @@ -521,7 +521,7 @@ public void doStart() throws Exception


//Create the scheduler and start it
_scheduler = new ScheduledExecutorScheduler("Scanner-" + __scannerId.getAndIncrement(), true, 1);
_scheduler = new ScheduledExecutorScheduler("Scanner-" + SCANNER_IDS.getAndIncrement(), true, 1);
_scheduler.start();

//schedule the scan
Expand Down

0 comments on commit fe0e076

Please sign in to comment.