Skip to content

Commit

Permalink
Prefer log replacement over concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
gaul committed Jan 28, 2025
1 parent 7239ed4 commit c84d0eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public final Blob getBlob(String container, String key, GetOptions options) {
}

var path = root.resolve(container).resolve(key);
logger.debug("Getting blob at: " + path);
logger.debug("Getting blob at: {}", path);

try {
var isDirectory = Files.isDirectory(path);
Expand Down Expand Up @@ -531,7 +531,7 @@ public final String putBlob(String container, Blob blob, PutOptions options) {
var path = root.resolve(container).resolve(blob.getMetadata().getName());
// TODO: should we use a known suffix to filter these out during list?
var tmpPath = root.resolve(container).resolve(blob.getMetadata().getName() + "-" + UUID.randomUUID());
logger.debug("Creating blob at: " + path);
logger.debug("Creating blob at: {}", path);

if (blob.getMetadata().getName().endsWith("/")) {
try {
Expand Down

0 comments on commit c84d0eb

Please sign in to comment.