hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r819201 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/util/Bytes.java
Date Sat, 26 Sep 2009 19:51:48 GMT
Author: apurtell
Date: Sat Sep 26 19:51:47 2009
New Revision: 819201

URL: http://svn.apache.org/viewvc?rev=819201&view=rev
Log:
HBASE-1870 Bytes.toFloat(byte[], int) is marked private

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Bytes.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=819201&r1=819200&r2=819201&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Sep 26 19:51:47 2009
@@ -84,6 +84,7 @@
    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
 

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Bytes.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Bytes.java?rev=819201&r1=819200&r2=819201&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Bytes.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Bytes.java Sat Sep 26 19:51:47
2009
@@ -492,7 +492,7 @@
    * @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);
   }



Mime
View raw message