mirror of https://github.com/apache/lucene.git
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:
parent
a41d447b4b
commit
5cf576115b
|
@ -245,7 +245,7 @@ public class JmxMonitoredMap<K, V> extends
|
||||||
throws AttributeNotFoundException, MBeanException, ReflectionException {
|
throws AttributeNotFoundException, MBeanException, ReflectionException {
|
||||||
Object val;
|
Object val;
|
||||||
if (staticStats.contains(attribute) && attribute != null
|
if (staticStats.contains(attribute) && attribute != null
|
||||||
& attribute.length() > 0) {
|
&& attribute.length() > 0) {
|
||||||
try {
|
try {
|
||||||
String getter = "get" + attribute.substring(0, 1).toUpperCase()
|
String getter = "get" + attribute.substring(0, 1).toUpperCase()
|
||||||
+ attribute.substring(1);
|
+ attribute.substring(1);
|
||||||
|
|
Loading…
Reference in New Issue