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:
Mark Harwood 2008-06-12 23:38:39 +00:00
parent d69885c9d7
commit 4adc3f7ba6
1 changed files with 1 additions and 1 deletions

View File

@ -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 */