You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/06/15 08:07:36 UTC
[camel] branch master updated: [CAMEL-15188] Fix checkstyle (#3916)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 5e94d02 [CAMEL-15188] Fix checkstyle (#3916)
5e94d02 is described below
commit 5e94d023333967ea1711902891e0fb2be79bc9dd
Author: iliya-gr <il...@gmail.com>
AuthorDate: Mon Jun 15 11:07:20 2020 +0300
[CAMEL-15188] Fix checkstyle (#3916)
---
.../java/org/apache/camel/component/telegram/TelegramEndpoint.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/TelegramEndpoint.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/TelegramEndpoint.java
index 57d25c5..5fc4f90 100644
--- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/TelegramEndpoint.java
+++ b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/TelegramEndpoint.java
@@ -224,7 +224,8 @@ public class TelegramEndpoint extends ScheduledPollEndpoint implements WebhookCa
return ProxyType.SOCKS_V4;
case SOCKS5:
return ProxyType.SOCKS_V5;
+ default:
+ throw new IllegalArgumentException("Unknown proxy type: " + type);
}
- throw new IllegalArgumentException("Unknown proxy type: " + type);
}
}