Skip to content

Commit

Permalink
minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Surfrdan committed Sep 16, 2024
1 parent d3b8a52 commit 0ee7c69
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class PlainOcflObjectSession implements OcflObjectSession {

private boolean closed = false;

/*
/**
* @param sessionId the session's id
* @param ocflRepo the OCFL client
* @param ocflObjectId the OCFL object id
Expand Down Expand Up @@ -113,6 +113,7 @@ public synchronized ResourceHeaders writeResource(final ResourceHeaders headers,
final var paths = resolvePersistencePaths(headers);
final var logicalPath = paths.getContentFilePath();
final var contentPath = encode(logicalPath);

if (!disableChecksumValidation) {
final var externalUrl = headers.getExternalUrl();
if (externalUrl == null || externalUrl.isBlank()) {
Expand Down

0 comments on commit 0ee7c69

Please sign in to comment.