HBASE-1870 Bytes.toFloat(byte[], int) is marked private
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@819201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a95bbc96e4
commit
94b7aaee90
|
@ -84,6 +84,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-48 Bulk load tools
|
||||
HBASE-1855 HMaster web application doesn't show the region end key in the
|
||||
table detail page (Andrei Dragomir via Stack)
|
||||
HBASE-1870 Bytes.toFloat(byte[], int) is marked private
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
|
|
|
@ -492,7 +492,7 @@ public class Bytes {
|
|||
* @param offset
|
||||
* @return Float made from passed byte array.
|
||||
*/
|
||||
private static float toFloat(byte [] bytes, int offset) {
|
||||
public static float toFloat(byte [] bytes, int offset) {
|
||||
int i = toInt(bytes, offset);
|
||||
return Float.intBitsToFloat(i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue