|
|
|
@ -176,7 +176,6 @@ public class ChartInfo implements XMLReadable, XMLWriter {
|
|
|
|
|
templateId = reader.getAttrAsString(ATTR_TEMPLATE_ID, StringUtils.EMPTY); |
|
|
|
|
testTemplate = reader.getAttrAsBoolean(ATTR_TEST_TEMPLATE, true); |
|
|
|
|
} else { |
|
|
|
|
try { |
|
|
|
|
String name = reader.getTagName(); |
|
|
|
|
if (XML_CHART_CONSUMING_MAP.equals(name)) { |
|
|
|
|
chartConsumingMap.put(ATTR_USERNAME, reader.getAttrAsString(ATTR_USERNAME, StringUtils.EMPTY)); |
|
|
|
@ -193,9 +192,6 @@ public class ChartInfo implements XMLReadable, XMLWriter {
|
|
|
|
|
chartConsumingMap.put(ATTR_JAR_TIME, reader.getAttrAsString(ATTR_JAR_TIME, StringUtils.EMPTY)); |
|
|
|
|
chartConsumingMap.put(ATTR_VERSION, reader.getAttrAsString(ATTR_VERSION, "8.0")); |
|
|
|
|
} |
|
|
|
|
} catch (Exception ex) { |
|
|
|
|
// 什么也不做,使用默认值
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|