remove trailing whitespaces

This commit is contained in:
Paulo Graça
2019-11-27 12:03:30 +00:00
parent dacc74c0a3
commit a5d999dbd8

View File

@@ -447,12 +447,12 @@ public class XOAI {
for (String f : getFileFormats(item)) { for (String f : getFileFormats(item)) {
doc.addField("metadata.dc.format.mimetype", f); doc.addField("metadata.dc.format.mimetype", f);
} }
// Message output before processing - for debugging purposes // Message output before processing - for debugging purposes
if (verbose) { if (verbose) {
println(String.format("Item %s with handle %s is about to be indexed", println(String.format("Item %s with handle %s is about to be indexed",
item.getID().toString(), handle)); item.getID().toString(), handle));
} }
ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteArrayOutputStream out = new ByteArrayOutputStream();
XmlOutputContext xmlContext = XmlOutputContext.emptyContext(out, Second); XmlOutputContext xmlContext = XmlOutputContext.emptyContext(out, Second);