JAL-2245 defence against NullPointer if no EMBL data unmarshalled
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Oct 2016 11:52:45 +0000 (12:52 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Oct 2016 11:52:45 +0000 (12:52 +0100)
src/jalview/datamodel/xdb/embl/EmblFile.java

index 48acb88..534b38c 100644 (file)
@@ -177,7 +177,7 @@ public class EmblFile
         }
       }
 
-//      if (entry.getFeatures() != null)
+    if (entry.getFeatures() != null)
       {
         for (EmblFeature feature : entry.getFeatures())
         {