JAL-1746 return empty string rather than null in getStateInfo
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 5 Jun 2015 14:09:25 +0000 (15:09 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 5 Jun 2015 14:09:25 +0000 (15:09 +0100)
src/jalview/gui/ChimeraViewFrame.java

index a89af2c..7d8d97c 100644 (file)
@@ -1225,7 +1225,7 @@ public class ChimeraViewFrame extends StructureViewerBase
   @Override
   public String getStateInfo()
   {
-    return this.chimeraSessionFile;
+    return this.chimeraSessionFile == null ? "" : chimeraSessionFile;
   }
 
   @Override