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


The following commit(s) were added to refs/heads/master by this push:
     new 25750e99f0 Make some fields and methods in S3ClientFactory, 
S3BlobStoreDAO public
25750e99f0 is described below

commit 25750e99f026ffb72c7fc66a4a666c330eac0008
Author: hung phan <[email protected]>
AuthorDate: Wed Oct 9 11:09:17 2024 +0700

    Make some fields and methods in S3ClientFactory, S3BlobStoreDAO public
---
 .../java/org/apache/james/blob/objectstorage/aws/S3BlobStoreDAO.java  | 2 +-
 .../java/org/apache/james/blob/objectstorage/aws/S3ClientFactory.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3BlobStoreDAO.java
 
b/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3BlobStoreDAO.java
index 930ccc440f..8aeeb44104 100644
--- 
a/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3BlobStoreDAO.java
+++ 
b/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3BlobStoreDAO.java
@@ -113,7 +113,7 @@ public class S3BlobStoreDAO implements BlobStoreDAO {
 
     @Inject
     @Singleton
-    S3BlobStoreDAO(S3ClientFactory s3ClientFactory,
+    public S3BlobStoreDAO(S3ClientFactory s3ClientFactory,
                    S3BlobStoreConfiguration configuration,
                    BlobId.Factory blobIdFactory) {
         this.configuration = configuration;
diff --git 
a/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3ClientFactory.java
 
b/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3ClientFactory.java
index 75e64ba3fa..f635fcd608 100644
--- 
a/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3ClientFactory.java
+++ 
b/server/blob/blob-s3/src/main/java/org/apache/james/blob/objectstorage/aws/S3ClientFactory.java
@@ -65,8 +65,8 @@ public class S3ClientFactory implements Startable, Closeable {
         }
     };
 
-    private static final String S3_METRICS_ENABLED_PROPERTY_KEY = 
"james.s3.metrics.enabled";
-    private static final String S3_METRICS_ENABLED_DEFAULT_VALUE = "true";
+    public static final String S3_METRICS_ENABLED_PROPERTY_KEY = 
"james.s3.metrics.enabled";
+    public static final String S3_METRICS_ENABLED_DEFAULT_VALUE = "true";
 
     private final S3AsyncClient s3Client;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to