edit PluginEntitiFactory.java

edit PluginEntitiFactory.java
This commit is contained in:
daisyonly 2014-09-01 14:38:02 +08:00
parent 03b99cc27e
commit 6ba38aa94d
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ public class PluginEntityFactory {
ParamType parentContainer) { ParamType parentContainer) {
ChoiceType choiceType = new ChoiceType(); ChoiceType choiceType = new ChoiceType();
choiceType.setValue(XmlParseHelper.getAttribute(element, "value")); choiceType.setValue(XmlParseHelper.getAttribute(element, "value"));
choiceType.setDefaultValue(Boolean.getBoolean(XmlParseHelper choiceType.setDefaultValue(Boolean.parseBoolean(XmlParseHelper
.getAttribute(element, "default"))); .getAttribute(element, "default")));
choiceType.setParentContainer(parentContainer); choiceType.setParentContainer(parentContainer);
return choiceType; return choiceType;