camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: CAMEL-4427: Enable support for joining channels named "#"
Date Sun, 21 Dec 2014 08:02:11 GMT
CAMEL-4427: Enable support for joining channels named "#"


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/64d5bed3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/64d5bed3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/64d5bed3

Branch: refs/heads/camel-2.13.x
Commit: 64d5bed3e521189583c05884dbeeb1d3fd99b6f1
Parents: 18fdc59
Author: lithium <code@hlidskialf.com>
Authored: Sat Dec 20 00:33:46 2014 -0800
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Dec 21 09:01:56 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/component/irc/IrcChannel.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/64d5bed3/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcChannel.java
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcChannel.java
b/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcChannel.java
index 5fbf0cc..1747f97 100644
--- a/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcChannel.java
+++ b/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcChannel.java
@@ -31,7 +31,6 @@ public final class IrcChannel {
     public void setName(String name) {
         if (name == null || name.isEmpty()) {
             name = "";
-            return;
         }
         this.name = name.startsWith("#") || name.startsWith("&") ? name : "#" + name;
     }


Mime
View raw message