Apache Solr open-source search software
Fixed bug parsing boolean attributes. Boolean.getBoolean(s) was being used by mistake which reads a system property with name of s - instead need to parse s as string value of "true" or "false".
Mark Harwood4adc3f7ba67b
diff --git a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.javaindex 285b3f84364..c1289d4ca2f 100644--- a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java+++ b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java@@ -186,7 +186,7 @@ public class DOMUtils{return deflt;}- return Boolean.getBoolean(result);+ return Boolean.valueOf(result).booleanValue();}/* Returns text of node and all child nodes - without markup */