Author: bstansberry(a)jboss.com
Date: 2007-09-10 14:05:26 -0400 (Mon, 10 Sep 2007)
New Revision: 4452
Modified:
core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java
Log:
[JBCACHE-1182] Don't log WARN messages on calling getter for deprecated attributes
Modified: core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java 2007-09-10 17:48:14
UTC (rev 4451)
+++ core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java 2007-09-10 18:05:26
UTC (rev 4452)
@@ -233,8 +233,6 @@
public Element getCacheLoaderConfiguration()
{
- log.warn("MBean attribute 'CacheLoaderConfiguration' is deprecated;
" +
- "use 'CacheLoaderConfig'");
return getCacheLoaderConfig();
}
@@ -270,8 +268,6 @@
public boolean getUseInterceptorMbeans()
{
- log.warn("MBean attribute 'UseInterceptorMbeans' is deprecated; "
+
- "use 'ExposeManagementStatistics'");
return getExposeManagementStatistics();
}
Show replies by date