Skip to content

Commit 2b9e38f

Browse files
philipwhiukchrjohn
andauthored
Apply suggestions from code review
Co-authored-by: Christoph John <christoph.john@macd.com>
1 parent 6edbc0b commit 2b9e38f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quickfixj-core/src/main/java/quickfix/DefaultSessionSchedule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public class DefaultSessionSchedule implements SessionSchedule {
4242
protected static final Logger LOG = LoggerFactory.getLogger(DefaultSessionSchedule.class);
4343

4444
//Cache recent time data to reduce creation of calendar objects
45-
private ThreadLocal<Calendar> threadLocalCalendar;
46-
private ThreadLocal<TimeInterval> threadLocalRecentTimeInterval;
45+
private final ThreadLocal<Calendar> threadLocalCalendar;
46+
private final ThreadLocal<TimeInterval> threadLocalRecentTimeInterval;
4747

4848
public DefaultSessionSchedule(SessionSettings settings, SessionID sessionID) throws ConfigError,
4949
FieldConvertError {

0 commit comments

Comments
 (0)