Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.irc.ui')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCHyperlink.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCHyperlink.java b/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCHyperlink.java
index 8dd940a46..aa90b3d03 100644
--- a/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCHyperlink.java
+++ b/providers/bundles/org.eclipse.ecf.provider.irc.ui/src/org/eclipse/ecf/internal/irc/ui/hyperlink/IRCHyperlink.java
@@ -32,7 +32,7 @@ public class IRCHyperlink extends AbstractURLHyperlink {
* Creates a new URL hyperlink.
*
* @param region
- * @param urlString
+ * @param uri
*/
public IRCHyperlink(IRegion region, URI uri) {
super(region, uri);
@@ -42,17 +42,17 @@ public class IRCHyperlink extends AbstractURLHyperlink {
* @see org.eclipse.ecf.ui.hyperlink.AbstractURLHyperlink#createConnectWizard()
*/
protected IConnectWizard createConnectWizard() {
- URI uri = getURI();
+ final URI uri = getURI();
String authAndPath = uri.getSchemeSpecificPart();
- while (authAndPath.startsWith("/")) authAndPath = authAndPath.substring(1); //$NON-NLS-1$
+ while (authAndPath.startsWith("/"))authAndPath = authAndPath.substring(1); //$NON-NLS-1$
- String fragment = uri.getFragment();
+ final String fragment = uri.getFragment();
if (fragment != null) {
- StringBuffer buf = new StringBuffer(authAndPath);
+ final StringBuffer buf = new StringBuffer(authAndPath);
buf.append("#").append(fragment); //$NON-NLS-1$
authAndPath = buf.toString();
}
-
+
return new IRCConnectWizard(authAndPath);
}

Back to the top