Apache Lucene open-source search software
SOLR-1159: JmxMonitoredMap uses & when && is needed
Mark Robert Miller5cf576115b10
diff --git a/src/java/org/apache/solr/core/JmxMonitoredMap.java b/src/java/org/apache/solr/core/JmxMonitoredMap.javaindex 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<K, V> extendsthrows 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);