mirror of https://github.com/apache/lucene.git
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".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@667294 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d69885c9d7
commit
4adc3f7ba6
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue