Skip to content

Commit 7c22602

Browse files
authored
corrected variable names
1 parent 61680df commit 7c22602

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
* initiators) for creating sessions.
4040
*/
4141
public class DefaultSessionFactory implements SessionFactory {
42-
private final static Logger log = LoggerFactory.getLogger(DefaultSessionFactory.class);
43-
private static final SimpleCache<String, DataDictionary> dictionaryCache = new SimpleCache<>(path -> {
42+
private static final Logger LOG = LoggerFactory.getLogger(DefaultSessionFactory.class);
43+
private static final SimpleCache<String, DataDictionary> DICTIONARY_CACHE = new SimpleCache<>(path -> {
4444
try {
4545
return new DataDictionary(path);
4646
} catch (ConfigError e) {
@@ -329,7 +329,7 @@ private ValidationSettings createValidationSettings(SessionID sessionID, Session
329329

330330
private void validateValidationSettings(ValidationSettings validationSettings) {
331331
if (validationSettings.isFirstFieldInGroupIsDelimiter() && validationSettings.isCheckUnorderedGroupFields()) {
332-
log.warn("Setting " + Session.SETTING_FIRST_FIELD_IN_GROUP_IS_DELIMITER
332+
LOG.warn("Setting " + Session.SETTING_FIRST_FIELD_IN_GROUP_IS_DELIMITER
333333
+ " requires " + Session.SETTING_VALIDATE_UNORDERED_GROUP_FIELDS + " to be set to false");
334334
}
335335
}
@@ -401,7 +401,7 @@ private String toDictionaryPath(String beginString) {
401401

402402
private DataDictionary getDataDictionary(String path) throws ConfigError {
403403
try {
404-
return dictionaryCache.computeIfAbsent(path);
404+
return DICTIONARY_CACHE.computeIfAbsent(path);
405405
} catch (QFJException e) {
406406
final Throwable cause = e.getCause();
407407
if (cause instanceof ConfigError) {

0 commit comments

Comments
 (0)