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

fix

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7306 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent dd2fe182
No related branches found
No related tags found
No related merge requests found
......@@ -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/SimpleDocumentEntry.java,v 1.22 2008-04-01 10:14:42 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/SimpleDocumentEntry.java,v 1.23 2008-04-22 14:28:05 tjc Exp $
*/
package uk.ac.sanger.artemis.io;
......@@ -38,7 +38,7 @@ import javax.swing.JOptionPane;
* This class contains the methods common to all DocumentEntry objects.
*
* @author Kim Rutherford <kmr@sanger.ac.uk>
* @version $Id: SimpleDocumentEntry.java,v 1.22 2008-04-01 10:14:42 tjc Exp $
* @version $Id: SimpleDocumentEntry.java,v 1.23 2008-04-22 14:28:05 tjc Exp $
**/
abstract public class SimpleDocumentEntry
......@@ -335,7 +335,7 @@ abstract public class SimpleDocumentEntry
while(feature_enum.hasMoreFeatures())
{
final Feature new_feature = feature_enum.nextFeature();
try
{
if(force)
......@@ -357,7 +357,7 @@ abstract public class SimpleDocumentEntry
for(int i=0; i<docFeatures.length; i++)
add((SimpleDocumentFeature)docFeatures[i]);
}
else
else if(docFeature != null)
add((SimpleDocumentFeature)docFeature);
}
}
......
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