From 5cf576115b1016850c2c4c6eb6a2ec6b3dcf8de8 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Tue, 12 May 2009 19:50:44 +0000 Subject: [PATCH] SOLR-1159: JmxMonitoredMap uses & when && is needed git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@774050 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/core/JmxMonitoredMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);