You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/11/04 11:05:44 UTC
[camel] 02/02: Camel-AWS2-S3: No need to raise an exception if the
factory will be instantiated
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0310609ed39f1a4c94bee951f5f1d562913a221e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 4 11:56:40 2020 +0100
Camel-AWS2-S3: No need to raise an exception if the factory will be instantiated
---
.../apache/camel/component/aws2/s3/client/AWS2S3ClientFactory.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/client/AWS2S3ClientFactory.java b/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/client/AWS2S3ClientFactory.java
index f65c298..7af9443 100644
--- a/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/client/AWS2S3ClientFactory.java
+++ b/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/client/AWS2S3ClientFactory.java
@@ -26,10 +26,6 @@ import org.apache.camel.component.aws2.s3.client.impl.AWS2S3ClientStandardImpl;
public final class AWS2S3ClientFactory {
private AWS2S3ClientFactory() {
- // Prevent instantiation of this factory class.
- throw new RuntimeException(
- "Do not instantiate a Factory class! Refer to the class "
- + "to learn how to properly use this factory implementation.");
}
/**