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
This commit is contained in:
Mark Robert Miller 2009-05-12 19:50:44 +00:00
parent a41d447b4b
commit 5cf576115b
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public class JmxMonitoredMap<K, V> 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);