From 6ad75d2f5c72cbfe5e4e9d02670a50520d42b74f Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Mon, 13 Aug 2012 15:06:28 -0400 Subject: [PATCH] Reverting changes to BCF2 ranges -- The previously expanded ones are actually the missing values in the range. The previous ranges were correct. Removed the TODO to confirm them, as they are now officially confirmed --- .../broadinstitute/sting/utils/codecs/bcf2/BCF2Type.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/java/src/org/broadinstitute/sting/utils/codecs/bcf2/BCF2Type.java b/public/java/src/org/broadinstitute/sting/utils/codecs/bcf2/BCF2Type.java index 8a9ba87ac..1162a5d1e 100644 --- a/public/java/src/org/broadinstitute/sting/utils/codecs/bcf2/BCF2Type.java +++ b/public/java/src/org/broadinstitute/sting/utils/codecs/bcf2/BCF2Type.java @@ -48,7 +48,7 @@ public enum BCF2Type { } }, - INT8 (1, 1, 0xFFFFFF80, -128, 127) { + INT8 (1, 1, 0xFFFFFF80, -127, 127) { @Override public int read(final InputStream in) throws IOException { return BCF2Utils.readByte(in); @@ -60,7 +60,7 @@ public enum BCF2Type { } }, - INT16(2, 2, 0xFFFF8000, -32768, 32767) { + INT16(2, 2, 0xFFFF8000, -32767, 32767) { @Override public int read(final InputStream in) throws IOException { final int b2 = BCF2Utils.readByte(in) & 0xFF; @@ -76,7 +76,7 @@ public enum BCF2Type { } }, - INT32(3, 4, 0x80000000, -2147483648, 2147483647) { + INT32(3, 4, 0x80000000, -2147483647, 2147483647) { @Override public int read(final InputStream in) throws IOException { final int b4 = BCF2Utils.readByte(in) & 0xFF;