From 3a5e7da51af0166273109f98bdf942e733105233 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 5 Oct 2016 12:52:45 +0100 Subject: [PATCH] JAL-2245 defence against NullPointer if no EMBL data unmarshalled --- src/jalview/datamodel/xdb/embl/EmblFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/datamodel/xdb/embl/EmblFile.java b/src/jalview/datamodel/xdb/embl/EmblFile.java index 48acb88..534b38c 100644 --- a/src/jalview/datamodel/xdb/embl/EmblFile.java +++ b/src/jalview/datamodel/xdb/embl/EmblFile.java @@ -177,7 +177,7 @@ public class EmblFile } } -// if (entry.getFeatures() != null) + if (entry.getFeatures() != null) { for (EmblFeature feature : entry.getFeatures()) { -- 1.7.10.2