Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2016-06-10 04:47:32 +0000
committerslewis2016-06-10 04:47:32 +0000
commitcb5d485df4567cfa154dcf4ec7faba1516a45f6f (patch)
tree4ad3c6362f78288546050eae968ad1aa2a32b617 /providers
parent9a01a07427163d95e6acb07f372c0ac9a4cfd7cc (diff)
downloadorg.eclipse.ecf-cb5d485df4567cfa154dcf4ec7faba1516a45f6f.tar.gz
org.eclipse.ecf-cb5d485df4567cfa154dcf4ec7faba1516a45f6f.tar.xz
org.eclipse.ecf-cb5d485df4567cfa154dcf4ec7faba1516a45f6f.zip
Fix for java8 compile error
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCChannelHyperlink.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCChannelHyperlink.java b/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCChannelHyperlink.java
index 34d584a7e..6c911ca4d 100644
--- a/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCChannelHyperlink.java
+++ b/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCChannelHyperlink.java
@@ -10,6 +10,7 @@
******************************************************************************/
package org.eclipse.ecf.internal.irc.ui.hyperlink;
+import org.eclipse.ecf.presence.chatroom.IChatRoomContainer;
import org.eclipse.ecf.presence.chatroom.IChatRoomManager;
import org.eclipse.ecf.presence.ui.chatroom.ChatRoomManagerView;
import org.eclipse.jface.text.IRegion;
@@ -46,8 +47,8 @@ public class IRCChannelHyperlink implements IHyperlink {
}
public void open() {
- final IChatRoomManager manager = (IChatRoomManager) view.getRootChatRoomContainer();
-
+ IChatRoomContainer container = view.getRootChatRoomContainer();
+ final IChatRoomManager manager = (IChatRoomManager) container.getAdapter(IChatRoomManager.class);
view.joinRoom(manager.getChatRoomInfo(channel), "");
}

Back to the top