bugfix
[jalview.git] / src / jalview / datamodel / SequenceFeature.java
index 8fd713e..1f34b8b 100755 (executable)
@@ -276,12 +276,11 @@ public class SequenceFeature
   {
     if (otherDetails != null)
     {
-      return otherDetails.get("status").toString();
-    }
-    else
-    {
-      return null;
+      String stat = (String) otherDetails.get("status");
+      if (stat!=null)
+        return new String(stat);
     }
+    return null;
   }
 
   public void setPosition(int pos)