You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/04/08 14:34:07 UTC
[camel] 02/09: CAMEL-17763: cleanup unused exceptions in camel-elytron
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit e9911ccf29bd036141fb2dca6b96b95252841218
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Apr 8 15:23:28 2022 +0200
CAMEL-17763: cleanup unused exceptions in camel-elytron
---
.../test/java/org/apache/camel/component/elytron/BaseElytronTest.java | 2 +-
.../java/org/apache/camel/component/elytron/ElytronBearerTokenTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/BaseElytronTest.java b/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/BaseElytronTest.java
index b5974fae9c7..0d7ef7cd274 100644
--- a/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/BaseElytronTest.java
+++ b/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/BaseElytronTest.java
@@ -78,7 +78,7 @@ public abstract class BaseElytronTest extends CamelTestSupport {
}
@BindToRegistry("prop")
- public Properties loadProperties() throws Exception {
+ public Properties loadProperties() {
Properties prop = new Properties();
prop.setProperty("port", "" + getPort());
diff --git a/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/ElytronBearerTokenTest.java b/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/ElytronBearerTokenTest.java
index a4241d9f65d..87dc061bb03 100644
--- a/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/ElytronBearerTokenTest.java
+++ b/components/camel-elytron/src/test/java/org/apache/camel/component/elytron/ElytronBearerTokenTest.java
@@ -96,7 +96,7 @@ public class ElytronBearerTokenTest extends BaseElytronTest {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
from("undertow:http://localhost:{{port}}/myapp?allowedRoles=user")