From ce5b626a17042761e9cd03f63b8f36659ca31e77 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 17 Feb 2011 11:25:42 +0000 Subject: [PATCH] classCast exception - attempting to update registry to bind jalview object to the VorbaId rather than the actual Vamsas data object the VorbaId refers to. --- src/jalview/io/vamsas/DatastoreItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/vamsas/DatastoreItem.java b/src/jalview/io/vamsas/DatastoreItem.java index f2d49e7..0fef18a 100644 --- a/src/jalview/io/vamsas/DatastoreItem.java +++ b/src/jalview/io/vamsas/DatastoreItem.java @@ -200,7 +200,7 @@ public abstract class DatastoreItem { jv2vobj.put(newjvobject, vobject); vobj2jv.put(vobject, newjvobject); - updateRegistryEntry(newjvobject, (Vobject) vobject); + updateRegistryEntry(newjvobject, vobj); } } -- 1.7.10.2