Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2004-12-08 05:16:28 +0000
committerslewis2004-12-08 05:16:28 +0000
commit1cb624e3ad2beedbffd30054aa9e9e22af797eb0 (patch)
treea47de381d1b960e9116c9a48a44ef7b036aec5f0
parent4362630fe9b912dde1904b7fb8222a7487523470 (diff)
downloadorg.eclipse.ecf-1cb624e3ad2beedbffd30054aa9e9e22af797eb0.tar.gz
org.eclipse.ecf-1cb624e3ad2beedbffd30054aa9e9e22af797eb0.tar.xz
org.eclipse.ecf-1cb624e3ad2beedbffd30054aa9e9e22af797eb0.zip
Fixed LongID.Creator creating StringIDs. Now creates LongIDs as it should
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/identity/LongID.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/identity/LongID.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/identity/LongID.java
index 2798e7c22..25dcadbfb 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/identity/LongID.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/identity/LongID.java
@@ -21,7 +21,7 @@ public class LongID extends BaseID {
public static class Creator implements IDInstantiator {
public ID makeInstance(Namespace ns, Class[] argTypes, Object[] args)
throws IDInstantiationException {
- return new StringID(ns, (String) args[0]);
+ return new LongID(ns, (Long) args[0]);
}
}
public static final String LONGID_INSTANTIATOR_CLASS = LongID.Creator.class

Back to the top