commit | 272088de65f5ac50d7bd7f77f13adb28f8e9c6ad | [log] [tgz] |
---|---|---|
author | rice@google.com <rice@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Jun 14 17:34:59 2010 +0000 |
committer | rice@google.com <rice@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Jun 14 17:34:59 2010 +0000 |
tree | f7381c4f525ef20b11bd2254bc42b599a98286f0 | |
parent | dfa2a06c75f7bc0caec869c91ca936d866d6765a [diff] |
Restore deleted public method Review at http://gwt-code-reviews.appspot.com/604801 Review by: jat@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8251 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamWriter.java b/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamWriter.java index b245553..769ea02 100644 --- a/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamWriter.java +++ b/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamWriter.java
@@ -44,6 +44,11 @@ public static double[] getAsDoubleArray(long value) { int lowBits = (int) (value & 0xffffffff); int highBits = (int) (value >> 32); + return makeLongComponents(lowBits, highBits); + } + + // Equivalent to getAsDoubleArray((long) highBits << 32 | lowBits); + protected static double[] makeLongComponents(int lowBits, int highBits) { double high = highBits * TWO_PWR_32_DBL; double low = lowBits; if (lowBits < 0) {