JAL-2780 JAL-2781 UNASSIGNED positions marked as Integer.Min
authorJim Procter <jprocter@issues.jalview.org>
Sun, 11 Feb 2018 10:45:23 +0000 (10:45 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 11 Feb 2018 10:45:23 +0000 (10:45 +0000)
src/jalview/structure/StructureMapping.java
src/jalview/ws/sifts/SiftsClient.java

index 320fa52..c103521 100644 (file)
@@ -39,7 +39,7 @@ public class StructureMapping
 
   String pdbchain;
 
-  public static final int UNASSIGNED_VALUE = -1;
+  public static final int UNASSIGNED_VALUE = Integer.MIN_VALUE;
 
   private static final int PDB_RES_NUM_INDEX = 0;
 
index 29f0ffe..948b23f 100644 (file)
@@ -94,7 +94,7 @@ public class SiftsClient implements SiftsClientI
 
   private static final int BUFFER_SIZE = 4096;
 
-  public static final int UNASSIGNED = -1;
+  public static final int UNASSIGNED = Integer.MIN_VALUE;
 
   private static final int PDB_RES_POS = 0;