From: Jim Procter Date: Sun, 11 Feb 2018 10:45:23 +0000 (+0000) Subject: JAL-2780 JAL-2781 UNASSIGNED positions marked as Integer.Min X-Git-Tag: Release_2_10_4~68^2~23 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=451939d3e8ac97654df06c1b935c95d365f9caa8;p=jalview.git JAL-2780 JAL-2781 UNASSIGNED positions marked as Integer.Min --- diff --git a/src/jalview/structure/StructureMapping.java b/src/jalview/structure/StructureMapping.java index 320fa52..c103521 100644 --- a/src/jalview/structure/StructureMapping.java +++ b/src/jalview/structure/StructureMapping.java @@ -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; diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index 29f0ffe..948b23f 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -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;