Skip to content

Commit

Permalink
Merge pull request #414 from keeps/alindo-dev
Browse files Browse the repository at this point in the history
Fixed metadata files wrongly named
  • Loading branch information
hmiguim authored Mar 4, 2024
2 parents f7bcf45 + 972f20c commit ae6cbf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private Pair createEarkSip(Sip descriptionObject) {

if (metadataPath == null) {
String content = descriptionObject.getMetadataWithReplaces(descObjMetadata);
metadataPath = tempDir.resolve(descObjMetadata.getId());
metadataPath = descObjMetadata.getPath();
FileUtils.writeStringToFile(metadataPath.toFile(), content, Constants.RODAIN_DEFAULT_ENCODING);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private Pair createHungarianSip(Sip descriptionObject) {

if (metadataPath == null) {
String content = descriptionObject.getMetadataWithReplaces(descObjMetadata);
metadataPath = tempDir.resolve(descObjMetadata.getId());
metadataPath = descObjMetadata.getPath();
FileUtils.writeStringToFile(metadataPath.toFile(), content, Constants.RODAIN_DEFAULT_ENCODING);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ protected Pair createEarkSip(final Sip descriptionObject) {

if (metadataPath == null) {
final String content = descriptionObject.getMetadataWithReplaces(descObjMetadata);
metadataPath = tempDir.resolve(descObjMetadata.getId());
metadataPath = descObjMetadata.getPath();
FileUtils.writeStringToFile(metadataPath.toFile(), content, Constants.RODAIN_DEFAULT_ENCODING);
}

Expand Down

0 comments on commit ae6cbf5

Please sign in to comment.