diff --git a/CHANGES.txt b/CHANGES.txt index fe2b62536fb..9e33606ee0b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -72,6 +72,7 @@ Release 0.20.0 - Unreleased (Ken Weiner via Stack) HBASE-1298 master.jsp & table.jsp do not URI Encode table or region names in links (Lars George via Stack) + HBASE-1310 Off by one error in Bytes.vintToBytes IMPROVEMENTS HBASE-1089 Add count of regions on filesystem to master UI; add percentage diff --git a/src/java/org/apache/hadoop/hbase/util/Bytes.java b/src/java/org/apache/hadoop/hbase/util/Bytes.java index a749f898af8..c0ea46b63d7 100644 --- a/src/java/org/apache/hadoop/hbase/util/Bytes.java +++ b/src/java/org/apache/hadoop/hbase/util/Bytes.java @@ -241,7 +241,6 @@ public class Bytes { result[offset] = ((byte)i); return result; } - offset++; int len = -112; if (i < 0) { @@ -535,4 +534,4 @@ public class Bytes { result[0] = column; return result; } -} \ No newline at end of file +}