You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2026/04/17 03:00:50 UTC
(james-project) 02/05: Fix occured typo in MemoryBlobStoreDAO.java
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 0b5ce4ea8a4931147c142273d833af61ccfaee50
Author: SAY-5 <SA...@users.noreply.github.com>
AuthorDate: Thu Apr 16 16:22:12 2026 -0700
Fix occured typo in MemoryBlobStoreDAO.java
Signed-off-by: SAY-5 <SA...@users.noreply.github.com>
---
.../main/java/org/apache/james/blob/memory/MemoryBlobStoreDAO.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/blob/blob-memory/src/main/java/org/apache/james/blob/memory/MemoryBlobStoreDAO.java b/server/blob/blob-memory/src/main/java/org/apache/james/blob/memory/MemoryBlobStoreDAO.java
index 41af72aa15..96e2049b69 100644
--- a/server/blob/blob-memory/src/main/java/org/apache/james/blob/memory/MemoryBlobStoreDAO.java
+++ b/server/blob/blob-memory/src/main/java/org/apache/james/blob/memory/MemoryBlobStoreDAO.java
@@ -74,7 +74,7 @@ public class MemoryBlobStoreDAO implements BlobStoreDAO {
try {
return inputStreamBlob.asBytes();
} catch (IOException e) {
- throw new ObjectStoreIOException("IOException occured", e);
+ throw new ObjectStoreIOException("IOException occurred", e);
}
})
.flatMap(bytes -> save(bucketName, blobId, bytes));
@@ -82,7 +82,7 @@ public class MemoryBlobStoreDAO implements BlobStoreDAO {
try {
return byteSourceBlob.asBytes();
} catch (IOException e) {
- throw new ObjectStoreIOException("IOException occured", e);
+ throw new ObjectStoreIOException("IOException occurred", e);
}
})
.map(bytes -> checkContentSize(byteSourceBlob.payload(), bytes))
@@ -106,7 +106,7 @@ public class MemoryBlobStoreDAO implements BlobStoreDAO {
"Difference in size between the pre-computed content can cause other blob stores to fail thus we need to test for alignment. Expecting " + realSize + " but pre-computed size was " + preComputedSize);
return bytes;
} catch (IOException e) {
- throw new ObjectStoreIOException("IOException occured", e);
+ throw new ObjectStoreIOException("IOException occurred", e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org