From 240dc71788a3ff68b3cce401f5251bb9cd9bd0ab Mon Sep 17 00:00:00 2001 From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04> Date: Thu, 21 Apr 2005 13:01:26 +0000 Subject: [PATCH] tidy git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@2405 ee4ac58c-ac51-4696-9907-e4b3aa274f04 --- uk/ac/sanger/artemis/io/GFFDocumentEntry.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/uk/ac/sanger/artemis/io/GFFDocumentEntry.java b/uk/ac/sanger/artemis/io/GFFDocumentEntry.java index ac6979655..00b4e2be6 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.7 2005-04-21 12:57:54 tjc Exp $ + * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.8 2005-04-21 13:01:26 tjc Exp $ */ package uk.ac.sanger.artemis.io; @@ -36,12 +36,14 @@ import java.util.Vector; * A DocumentEntry that can read an GFF entry from a Document. * * @author Kim Rutherford - * @version $Id: GFFDocumentEntry.java,v 1.7 2005-04-21 12:57:54 tjc Exp $ + * @version $Id: GFFDocumentEntry.java,v 1.8 2005-04-21 13:01:26 tjc Exp $ **/ public class GFFDocumentEntry extends SimpleDocumentEntry implements DocumentEntry { + private boolean finished_constructor = false; + /** * Create a new GFFDocumentEntry object associated with the given * Document. @@ -282,7 +284,7 @@ public class GFFDocumentEntry extends SimpleDocumentEntry final Location this_feature_location = this_feature.getLocation(); if(this_feature_location.getRanges().size() > 1) - { + { throw new Error("internal error - new location should have " + "exactly one range"); } @@ -353,8 +355,4 @@ public class GFFDocumentEntry extends SimpleDocumentEntry } } - /** - * - **/ - private boolean finished_constructor = false; } -- GitLab