Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph John <[email protected]>
  • Loading branch information
philipwhiuk and chrjohn authored Sep 29, 2021
1 parent 6edbc0b commit 2b9e38f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class DefaultSessionSchedule implements SessionSchedule {
protected static final Logger LOG = LoggerFactory.getLogger(DefaultSessionSchedule.class);

//Cache recent time data to reduce creation of calendar objects
private ThreadLocal<Calendar> threadLocalCalendar;
private ThreadLocal<TimeInterval> threadLocalRecentTimeInterval;
private final ThreadLocal<Calendar> threadLocalCalendar;
private final ThreadLocal<TimeInterval> threadLocalRecentTimeInterval;

public DefaultSessionSchedule(SessionSettings settings, SessionID sessionID) throws ConfigError,
FieldConvertError {
Expand Down

0 comments on commit 2b9e38f

Please sign in to comment.