From d632def2a5dae8f942dbc10546f2f0379387b088 Mon Sep 17 00:00:00 2001 From: Patrik Lilja Date: Thu, 27 Feb 2020 20:49:20 +0100 Subject: [PATCH] Remove unused fields The purpose of these fields have been moved into ehcache3 through the VisitorListener. --- .../org/ehcache/sizeof/ObjectGraphWalker.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java b/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java index f7dbcd6..1fc1c5c 100644 --- a/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java +++ b/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java @@ -39,22 +39,6 @@ final class ObjectGraphWalker { private static final Logger LOG = LoggerFactory.getLogger(ObjectGraphWalker.class); private static final String VERBOSE_DEBUG_LOGGING = "org.ehcache.sizeof.verboseDebugLogging"; - - private static final String CONTINUE_MESSAGE = - "The configured limit of {0} object references was reached while attempting to calculate the size of the object graph." + - " Severe performance degradation could occur if the sizing operation continues. This can be avoided by setting the CacheManger" + - " or Cache element's maxDepthExceededBehavior to \"abort\" or adding stop points with @IgnoreSizeOf annotations." + - " If performance degradation is NOT an issue at the configured limit, raise the limit value using the CacheManager or Cache" + - " element's maxDepth attribute. For more information, see the Ehcache configuration documentation."; - - - private static final String ABORT_MESSAGE = - "The configured limit of {0} object references was reached while attempting to calculate the size of the object graph." + - " This can be avoided by adding stop points with @IgnoreSizeOf annotations. Since the CacheManger or Cache " + - " element's maxDepthExceededBehavior is set to \"abort\", the sizing operation has stopped and the reported cache size is not" + - " accurate. If performance degradation is NOT an issue at the configured limit, raise the limit value using the CacheManager" + - " or Cache element's maxDepth attribute. For more information, see the Ehcache configuration documentation."; - private static final boolean USE_VERBOSE_DEBUG_LOGGING; private final WeakIdentityConcurrentMap, SoftReference>> fieldCache =