提交 faaa1026 编写于 作者: Y yong.you

fix metric analyzer builder bug

上级 0ed3f960
......@@ -260,7 +260,6 @@ public class MetricAnalyzer extends AbstractMessageAnalyzer<MetricReport> implem
}
protected void storeReports(boolean atEnd) {
DefaultXmlBuilder builder = new DefaultXmlBuilder(true);
Bucket<String> reportBucket = null;
Transaction t = Cat.getProducer().newTransaction("Checkpoint", ID);
......@@ -270,7 +269,7 @@ public class MetricAnalyzer extends AbstractMessageAnalyzer<MetricReport> implem
for (MetricReport report : m_reports.values()) {
try {
String xml = builder.buildXml(report);
String xml = new DefaultXmlBuilder(true).buildXml(report);
String product = report.getProduct();
reportBucket.storeById(product, xml);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册