From 253e250cb2b5c59cc45ffb8eb5bf4fac52c78f3c Mon Sep 17 00:00:00 2001 From: Jay Carey Date: Mon, 16 Nov 2015 12:41:54 -0500 Subject: [PATCH] Replaced unmappable character compiler error. --- src/java/htsjdk/samtools/TextTagCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/htsjdk/samtools/TextTagCodec.java b/src/java/htsjdk/samtools/TextTagCodec.java index f838544fcb..ceec61a123 100644 --- a/src/java/htsjdk/samtools/TextTagCodec.java +++ b/src/java/htsjdk/samtools/TextTagCodec.java @@ -73,7 +73,7 @@ public String encode(final String tagName, Object value) { value = getArrayType(value, false) + "," + encodeArrayValue(value); } else if (tagType == 'i') { final long longVal = ((Number) value).longValue(); - // as the spec says: [−2^31, 2^32) + // as the spec says: [-2^31, 2^32) if (longVal < Integer.MIN_VALUE || longVal > BinaryCodec.MAX_UINT) { throw new IllegalArgumentException("Value for tag " + tagName + " cannot be stored in either a signed or unsigned 32-bit integer: " + longVal); }