This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit a6aee6053bb5338eade57bd0e6a4ee5cac240bd7 Author: SAY-5 <[email protected]> AuthorDate: Thu Apr 16 16:22:16 2026 -0700 Fix occured typo in FileBlobStoreDAO.java Signed-off-by: SAY-5 <[email protected]> --- .../main/java/org/apache/james/blob/file/FileBlobStoreDAO.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/blob/blob-file/src/main/java/org/apache/james/blob/file/FileBlobStoreDAO.java b/server/blob/blob-file/src/main/java/org/apache/james/blob/file/FileBlobStoreDAO.java index b181499d9d..0a5d1731c0 100644 --- a/server/blob/blob-file/src/main/java/org/apache/james/blob/file/FileBlobStoreDAO.java +++ b/server/blob/blob-file/src/main/java/org/apache/james/blob/file/FileBlobStoreDAO.java @@ -159,7 +159,7 @@ public class FileBlobStoreDAO implements BlobStoreDAO { replaceBlob(tempFile, blob); tempFileHandled = true; } catch (IOException e) { - throw new ObjectStoreIOException("IOException occured", e); + throw new ObjectStoreIOException("IOException occurred", e); } finally { if (!tempFileHandled) { FileUtils.deleteQuietly(tempFile); @@ -185,7 +185,7 @@ public class FileBlobStoreDAO implements BlobStoreDAO { try { return content.read(); } catch (IOException e) { - throw new ObjectStoreIOException("IOException occured", e); + throw new ObjectStoreIOException("IOException occurred", e); } }) .flatMap(bytes -> save(bucketName, blobId, bytes, metadata)); @@ -255,7 +255,7 @@ public class FileBlobStoreDAO implements BlobStoreDAO { Throwing.function((String attributeName) -> new BlobMetadataValue(readFileAttributeValue(attributeView, attributeName))) .sneakyThrow()))); } catch (IOException e) { - throw new ObjectStoreIOException("IOException occured", e); + throw new ObjectStoreIOException("IOException occurred", e); } } @@ -301,7 +301,7 @@ public class FileBlobStoreDAO implements BlobStoreDAO { try { return Files.createTempFile(blob.getParentFile().toPath(), blob.getName(), ".tmp").toFile(); } catch (IOException e) { - throw new ObjectStoreIOException("IOException occured", e); + throw new ObjectStoreIOException("IOException occurred", e); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
