From 451939d3e8ac97654df06c1b935c95d365f9caa8 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 11 Feb 2018 10:45:23 +0000 Subject: [PATCH] JAL-2780 JAL-2781 UNASSIGNED positions marked as Integer.Min --- src/jalview/structure/StructureMapping.java | 2 +- src/jalview/ws/sifts/SiftsClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.2