Skip to content
Snippets Groups Projects
Commit f64fada0 authored by tjc's avatar tjc
Browse files

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
parent 615845d3
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 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; package uk.ac.sanger.artemis.io;
...@@ -45,7 +45,7 @@ import org.gmod.schema.cv.CvTerm; ...@@ -45,7 +45,7 @@ import org.gmod.schema.cv.CvTerm;
* A DocumentEntry that can read an GFF entry from a Document. * A DocumentEntry that can read an GFF entry from a Document.
* *
* @author Kim Rutherford * @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 public class GFFDocumentEntry extends SimpleDocumentEntry
...@@ -362,7 +362,8 @@ public class GFFDocumentEntry extends SimpleDocumentEntry ...@@ -362,7 +362,8 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
else else
{ {
cvTerm = cvTerm =
DatabaseDocument.getCvTermByCvTermId(matchFeature.getCvTerm().getCvTermId(), null); DatabaseDocument.getCvTermByCvTermId(matchFeature.getCvTerm().getCvTermId(),
(Feature)fv.elementAt(0));
cvTermCache.put(cvTermId, cvTerm); cvTermCache.put(cvTermId, cvTerm);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment