From a0f81f2688004be19c4baaf9c3ddb0813bbc209e Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 5 Jun 2015 15:09:25 +0100 Subject: [PATCH] JAL-1746 return empty string rather than null in getStateInfo --- src/jalview/gui/ChimeraViewFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.2