This commit is contained in:
xxx_xxx 2019-06-27 14:29:05 +08:00
parent a79bdf760e
commit e0c2061c70

View File

@ -2912,7 +2912,7 @@ void fromXml(Stanza st) throws InvalidXmlException {
this.newLength = Long.parseLong(st.getValue("NEWLENGTH"));
this.timestamp = Long.parseLong(st.getValue("TIMESTAMP"));
if (st.hasChildren("BLOCK"))
this.truncateBlock = FSEditLogOp.blockFromXml(st);
this.truncateBlock = FSEditLogOp.blockFromXml(st.getChildren("BLOCK").get(0));
}
@Override