You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ma...@apache.org on 2009/05/12 21:50:45 UTC

svn commit: r774050 - /lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java

Author: markrmiller
Date: Tue May 12 19:50:44 2009
New Revision: 774050

URL: http://svn.apache.org/viewvc?rev=774050&view=rev
Log:
SOLR-1159: JmxMonitoredMap uses & when && is needed

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java?rev=774050&r1=774049&r2=774050&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/JmxMonitoredMap.java Tue May 12 19:50:44 2009
@@ -245,7 +245,7 @@
             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);