JAL-2434 use a constant for StructureMapping.NO_CHAIN (space)
[jalview.git] / src / jalview / structure / StructureMapping.java
index 40789ed..d6eb1eb 100644 (file)
@@ -29,6 +29,12 @@ import java.util.List;
 
 public class StructureMapping
 {
+  /**
+   * Space character constant, recommended for consistent representation when no
+   * chain specified
+   */
+  public static String NO_CHAIN = " ";
+
   String mappingDetails;
 
   SequenceI sequence;
@@ -243,8 +249,4 @@ public class StructureMapping
     return mappingDetails;
   }
 
-  public HashMap<Integer, int[]> getMapping()
-  {
-    return mapping;
-  }
 }