code formatting
This commit is contained in:
parent
91b49366c6
commit
efc1632e16
|
@ -176,13 +176,13 @@ public class XmlSerializationUtils {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
for (KeyValue kv : measure.getUnit()) {
|
||||
sb
|
||||
.append("<")
|
||||
.append(name)
|
||||
.append(" ")
|
||||
.append(attr("id", measure.getId()))
|
||||
.append(attr("count", kv.getValue()))
|
||||
.append(attr("datasource", kv.getKey()))
|
||||
.append(" />");
|
||||
.append("<")
|
||||
.append(name)
|
||||
.append(" ")
|
||||
.append(attr("id", measure.getId()))
|
||||
.append(attr("count", kv.getValue()))
|
||||
.append(attr("datasource", kv.getKey()))
|
||||
.append(" />");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@ public class XmlRecordFactoryTest {
|
|||
final Publication p = OBJECT_MAPPER
|
||||
.readValue(IOUtils.toString(getClass().getResourceAsStream("publication.json")), Publication.class);
|
||||
|
||||
|
||||
final String xml = xmlRecordFactory.build(new JoinedEntity(p));
|
||||
|
||||
assertNotNull(xml);
|
||||
|
|
Loading…
Reference in New Issue