hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject git commit: HBASE-11957 addendum 2; fix TestAssignmentManager
Date Sun, 28 Sep 2014 04:08:46 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.94 9f5c397e2 -> baccf6c9d


HBASE-11957 addendum 2; fix TestAssignmentManager


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/baccf6c9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/baccf6c9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/baccf6c9

Branch: refs/heads/0.94
Commit: baccf6c9d434132cc027fc9ed28d06aefc25db77
Parents: 9f5c397
Author: Lars Hofhansl <larsh@apache.org>
Authored: Sat Sep 27 21:09:04 2014 -0700
Committer: Lars Hofhansl <larsh@apache.org>
Committed: Sat Sep 27 21:09:04 2014 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/hadoop/hbase/util/Bytes.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/baccf6c9/src/main/java/org/apache/hadoop/hbase/util/Bytes.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/hadoop/hbase/util/Bytes.java b/src/main/java/org/apache/hadoop/hbase/util/Bytes.java
index b548e5e..6a4c250 100644
--- a/src/main/java/org/apache/hadoop/hbase/util/Bytes.java
+++ b/src/main/java/org/apache/hadoop/hbase/util/Bytes.java
@@ -837,7 +837,7 @@ public class Bytes {
    * @return the short value
    */
   public static short toShort(byte[] bytes) {
-    return toShortUnsafe(bytes, 0);
+    return toShort(bytes, 0, SIZEOF_SHORT);
   }
 
   /**


Mime
View raw message