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 98bdbc21f33e2dc3a12d3ab94ac7159158ae28f1 Author: Cornescu, MA (Marius) <marius.corne...@rabobank.com> AuthorDate: Tue Sep 24 09:27:26 2019 +0200 removed exception from method signature (no longer thrown after code review) --- .../apache/camel/component/hdfs/kerberos/KerberosConfiguration.java | 2 +- .../camel/component/hdfs/kerberos/KerberosConfigurationTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/kerberos/KerberosConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/kerberos/KerberosConfiguration.java index 209edb5..0cff2f5 100644 --- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/kerberos/KerberosConfiguration.java +++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/kerberos/KerberosConfiguration.java @@ -61,7 +61,7 @@ public class KerberosConfiguration extends Configuration { */ public KerberosConfiguration(List<String> namedNodes, String kerberosConfigFileLocation, - int replicationFactor) throws IOException { + int replicationFactor) { HdfsComponent.setKerberosConfigFile(kerberosConfigFileLocation); setupHdfsConfiguration(namedNodes, replicationFactor); diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java index 5288cd5..efee33f 100644 --- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java +++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java @@ -34,7 +34,7 @@ public class KerberosConfigurationTest { private KerberosConfiguration underTest; @Test - public void newKerberosConfiguration() throws IOException { + public void newKerberosConfiguration() { // given List<String> namedNodes = Arrays.asList("kerb_node_01.example.com:8021", "kerb_node_02.example.com:8022"); String kerberosConfigFileLocation = pwd() + "/src/test/resources/kerberos/test-kerb5.conf"; @@ -56,7 +56,7 @@ public class KerberosConfigurationTest { } @Test(expected = FileNotFoundException.class) - public void newKerberosConfigurationWithMissingKerberosConfigFile() throws IOException { + public void newKerberosConfigurationWithMissingKerberosConfigFile() { // given List<String> namedNodes = Arrays.asList("kerb_node_01.example.com:8021", "kerb_node_02.example.com:8022"); String kerberosConfigFileLocation = pwd() + "/src/test/resources/kerberos/missing.conf";