Skip to content

Commit

Permalink
Remove redundant payload-oxum
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasThelen committed Aug 8, 2021
1 parent 60afebe commit d598b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/dataone/speedbagit/SpeedBagIt.java
Expand Up @@ -206,7 +206,7 @@ public String generateBagInfoTxt(String payloadOxum, int bagSize) {
String bagInfoDateKey = this.properties.getProperty("bag.info.date");
String bagInfo = String.format("%s: %s\n", bagInfoDateKey, dateFormat.format(dateTime));
String bagInfoPayloadOxum = this.properties.getProperty("bag.info.payloadOxum");
bagInfo = String.format("%s%sPayload-Oxum: %s\n", bagInfo, bagInfoPayloadOxum, payloadOxum);
bagInfo = String.format("%s%s: %s\n", bagInfo, bagInfoPayloadOxum, payloadOxum);
String bagInfoBagSize = this.properties.getProperty("bag.info.bagSize");
bagInfo = String.format("%s%s: %s\n", bagInfo, bagInfoBagSize, formatSize(bagSize));
return bagInfo;
Expand Down

0 comments on commit d598b1e

Please sign in to comment.