Skip to content

Commit

Permalink
make FAKE file PIDs work
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Oct 29, 2024
1 parent 64ac076 commit f676809
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ public List<String> getProviderInformation() {
}

@Override
public String createIdentifier(DvObject dvo) throws Throwable {
return "fakeIdentifier";
public String createIdentifier(DvObject dvObject) throws Throwable {
if(dvObject.getIdentifier() == null || dvObject.getIdentifier().isEmpty() ){
dvObject = generatePid(dvObject);
}
return dvObject.getIdentifier();
}

@Override
Expand Down

0 comments on commit f676809

Please sign in to comment.