From: gmungoc Date: Wed, 5 Oct 2016 11:52:45 +0000 (+0100) Subject: JAL-2245 defence against NullPointer if no EMBL data unmarshalled X-Git-Tag: Release_2_10_0~14 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3a5e7da51af0166273109f98bdf942e733105233;p=jalview.git JAL-2245 defence against NullPointer if no EMBL data unmarshalled --- 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()) {