Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-12 13:57:16 +0000
committermkuppe2009-02-12 13:57:16 +0000
commitb4177dcf91933abdee6ab18b14f5fea10d22a962 (patch)
tree906fe3315e45e0a009d4ff53f915be216b99767a /examples/bundles/org.eclipse.ecf.example.collab/src/org
parent5723fda6924a7b7ecd322dc58230bdeebbbf4f7e (diff)
downloadorg.eclipse.ecf-b4177dcf91933abdee6ab18b14f5fea10d22a962.tar.gz
org.eclipse.ecf-b4177dcf91933abdee6ab18b14f5fea10d22a962.tar.xz
org.eclipse.ecf-b4177dcf91933abdee6ab18b14f5fea10d22a962.zip
NEW - bug 264126: BREE should include Foundation 1.1 as much as possible
https://bugs.eclipse.org/bugs/show_bug.cgi?id=264126
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.collab/src/org')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/ChatComposite.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/ChatComposite.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/ChatComposite.java
index d9fd33d84..451f71cf0 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/ChatComposite.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/ChatComposite.java
@@ -21,6 +21,7 @@ import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.core.identity.IDFactory;
import org.eclipse.ecf.core.user.IUser;
+import org.eclipse.ecf.core.util.StringUtils;
import org.eclipse.ecf.example.collab.share.io.FileTransferParams;
import org.eclipse.ecf.internal.example.collab.ClientPlugin;
import org.eclipse.ecf.presence.IPresenceContainerAdapter;
@@ -1002,7 +1003,7 @@ public class ChatComposite extends Composite {
if (rgb == null || rgb.equals("")) { //$NON-NLS-1$
return new Color(getShell().getDisplay(), 0, 0, 0);
} else {
- final String[] vals = rgb.split(","); //$NON-NLS-1$
+ final String[] vals = StringUtils.split(rgb, ","); //$NON-NLS-1$
return new Color(getShell().getDisplay(), Integer.parseInt(vals[0]), Integer.parseInt(vals[1]), Integer.parseInt(vals[2]));
}
}

Back to the top