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:
Andrew Kyle Purtell 2009-09-26 19:51:47 +00:00
parent a95bbc96e4
commit 94b7aaee90
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);
}