From f64fada08519d8a1a44c6cac19f71c82ef0bc085 Mon Sep 17 00:00:00 2001 From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04> Date: Thu, 18 Sep 2008 08:14:54 +0000 Subject: [PATCH] fix for lazy loading git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@8856 ee4ac58c-ac51-4696-9907-e4b3aa274f04 --- uk/ac/sanger/artemis/io/GFFDocumentEntry.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uk/ac/sanger/artemis/io/GFFDocumentEntry.java b/uk/ac/sanger/artemis/io/GFFDocumentEntry.java index 1cc891231..4a346c25e 100644 --- a/uk/ac/sanger/artemis/io/GFFDocumentEntry.java +++ b/uk/ac/sanger/artemis/io/GFFDocumentEntry.java @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.55 2008-08-01 12:51:15 tjc Exp $ + * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.56 2008-09-18 08:14:54 tjc Exp $ */ package uk.ac.sanger.artemis.io; @@ -45,7 +45,7 @@ import org.gmod.schema.cv.CvTerm; * A DocumentEntry that can read an GFF entry from a Document. * * @author Kim Rutherford - * @version $Id: GFFDocumentEntry.java,v 1.55 2008-08-01 12:51:15 tjc Exp $ + * @version $Id: GFFDocumentEntry.java,v 1.56 2008-09-18 08:14:54 tjc Exp $ **/ public class GFFDocumentEntry extends SimpleDocumentEntry @@ -362,7 +362,8 @@ public class GFFDocumentEntry extends SimpleDocumentEntry else { cvTerm = - DatabaseDocument.getCvTermByCvTermId(matchFeature.getCvTerm().getCvTermId(), null); + DatabaseDocument.getCvTermByCvTermId(matchFeature.getCvTerm().getCvTermId(), + (Feature)fv.elementAt(0)); cvTermCache.put(cvTermId, cvTerm); } -- GitLab