This commit is contained in:
wentch
2015-12-25 10:46:40 +08:00
parent c75818cbf4
commit 90444b142a

View File

@@ -395,8 +395,8 @@ public final class Utility {
* @param low * @param low
* @return * @return
*/ */
public static long merge(long high, long low) { public static long merge(int high, int low) {
return high << 32 | low; return (0L + high) << 32 | low;
} }
public static ByteBuffer encodeUTF8(final ByteBuffer buffer, final char[] text, final int start, final int len) { public static ByteBuffer encodeUTF8(final ByteBuffer buffer, final char[] text, final int start, final int len) {