From 19da74ef9b99f2c179efaacb52c1632475748e2e Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 29 Jun 2015 01:41:46 +0200 Subject: [PATCH] made hex capital --- Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java b/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java index 75e29cc..52ef91a 100644 --- a/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java +++ b/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java @@ -77,7 +77,7 @@ public final class UInteger extends UNumber implements Comparable { * A constant holding the maximum value an unsigned int can * have, 232-1. */ - public static final long MAX_VALUE = 0xffffffffL; + public static final long MAX_VALUE = 0xFFFFFFFFL; /** * The value modelling the content of this unsigned int @@ -322,6 +322,7 @@ public final class UInteger extends UNumber implements Comparable { return Long.valueOf(this.value).toString(); } + @Override public String toHexString() { return Long.toHexString(this.value); }