Skip to content

Commit

Permalink
GEODE-7853: Remove unused field (#4777)
Browse files Browse the repository at this point in the history
Remove unused field and avoid unnecessary calls to
Logger.isTraceEnabled().
  • Loading branch information
jujoramos committed Mar 6, 2020
1 parent b57456e commit a9a7d15
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -245,10 +245,7 @@ public abstract class InternalDataSerializer extends DataSerializer {
private static final ConcurrentHashMap<String, SerializerAttributesHolder> supportedClassesToHolders =
new ConcurrentHashMap<>();
private static final Object listenersSync = new Object();
@MakeNotStatic
private static final ConcurrentMap<Integer, String> dsfidToClassMap =
logger.isTraceEnabled(LogMarker.SERIALIZER_WRITE_DSFID_VERBOSE) ? new ConcurrentHashMap<>()
: null;

private static final ThreadLocal<Boolean> pdxSerializationInProgress = new ThreadLocal<>();
@MakeNotStatic
private static final CopyOnWriteHashMap<String, WeakReference<Class<?>>> classCache =
Expand Down

0 comments on commit a9a7d15

Please sign in to comment.