From 57eddff1b5cec20440c4181f481c9adfbc5324b2 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 21 May 2007 07:25:59 +0000 Subject: [PATCH] fix non-retrieval of vobject by vorba id on clientdoc interface git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@397 be28352e-c001-0410-b1a7-c7978e42abec --- src/uk/ac/vamsas/client/simpleclient/IdFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uk/ac/vamsas/client/simpleclient/IdFactory.java b/src/uk/ac/vamsas/client/simpleclient/IdFactory.java index 35795cb..b81b2fe 100644 --- a/src/uk/ac/vamsas/client/simpleclient/IdFactory.java +++ b/src/uk/ac/vamsas/client/simpleclient/IdFactory.java @@ -100,8 +100,8 @@ public class IdFactory extends VorbaIdFactory { } newidstring=idstring+Integer.toString(sequence); } while (extantids.containsKey(newidstring)); - extantids.put(newidstring, vobject); // hash the Vobject by its new Id VorbaId id = newId(newidstring); // VorbaId.hash()==newidstring.hash() so we can still recover vobject + extantids.put(id, vobject); // hash the Vobject by its new Id return id; } -- 1.7.10.2