bugfix
authorjprocter <Jim Procter>
Fri, 13 Jul 2007 15:02:09 +0000 (15:02 +0000)
committerjprocter <Jim Procter>
Fri, 13 Jul 2007 15:02:09 +0000 (15:02 +0000)
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)