Skip to content

Commit

Permalink
fix string format problem with %s
Browse files Browse the repository at this point in the history
  • Loading branch information
Paurikova2 committed Nov 27, 2024
1 parent 57e785e commit 4e0e7a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ private static Date getEmbargoDate(Context context, Item item){
try {
resPolList = resPolicyService.find(context, bitstream, Constants.READ);
} catch (SQLException e) {
log.error(String.format("Error during finding resource policies READ for bitstream %s"),
bitstream.getID());
log.error(String.format("Error during finding resource policies READ for bitstream %s",
bitstream.getID().toString()));
return null;
}
for (ResourcePolicy resPol : resPolList) {
Expand Down

0 comments on commit 4e0e7a4

Please sign in to comment.