diff --git a/src/java/org/apache/solr/core/JmxMonitoredMap.java b/src/java/org/apache/solr/core/JmxMonitoredMap.java index 18ad8fbc149..b69d0da7a89 100644 --- a/src/java/org/apache/solr/core/JmxMonitoredMap.java +++ b/src/java/org/apache/solr/core/JmxMonitoredMap.java @@ -245,7 +245,7 @@ public class JmxMonitoredMap extends throws AttributeNotFoundException, MBeanException, ReflectionException { Object val; if (staticStats.contains(attribute) && attribute != null - & attribute.length() > 0) { + && attribute.length() > 0) { try { String getter = "get" + attribute.substring(0, 1).toUpperCase() + attribute.substring(1);