Skip to content

Commit f65461e

Browse files
committed
Removed confusing comment
1 parent 3e18167 commit f65461e

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/test/java/com/maxmind/db/DecoderTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,6 @@ private static Map<Long, byte[]> pointers() {
138138
pointers.put((((long) 1) << 31) - 1, new byte[] { 0x38, (byte) 0x7f,
139139
(byte) 0xff, (byte) 0xff, (byte) 0xff });
140140

141-
// XXX - This is disabled because Java only supports ByteBuffers up to
142-
// 2GB. As such, we are using a (signed) int as the pointer. This makes
143-
// the Java implementation not quite compliant with the specification as
144-
// that has a 32bit address space rather than a 31 bit. This is fixable
145-
// using multiple buffer views in the unlikely situation that it becomes
146-
// an issue.
147-
148-
// pointers.put((((long) 1) << 32) - 1, new byte[] { 0x38, (byte) 0xff,
149-
// (byte) 0xff, (byte) 0xff, (byte) 0xff });
150141
return pointers;
151142
}
152143

0 commit comments

Comments
 (0)