From: gmungoc Date: Fri, 5 Jun 2015 14:09:25 +0000 (+0100) Subject: JAL-1746 return empty string rather than null in getStateInfo X-Git-Tag: Release_2_10_0~621 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a0f81f2688004be19c4baaf9c3ddb0813bbc209e;p=jalview.git JAL-1746 return empty string rather than null in getStateInfo --- diff --git a/src/jalview/gui/ChimeraViewFrame.java b/src/jalview/gui/ChimeraViewFrame.java index a89af2c..7d8d97c 100644 --- a/src/jalview/gui/ChimeraViewFrame.java +++ b/src/jalview/gui/ChimeraViewFrame.java @@ -1225,7 +1225,7 @@ public class ChimeraViewFrame extends StructureViewerBase @Override public String getStateInfo() { - return this.chimeraSessionFile; + return this.chimeraSessionFile == null ? "" : chimeraSessionFile; } @Override