HBASE-1310 Off by one error in Bytes.vintToBytes

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@762163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-04-05 21:30:09 +00:00
parent e2eacecb29
commit 88a42b8ce6
2 changed files with 2 additions and 2 deletions

View File

@ -72,6 +72,7 @@ Release 0.20.0 - Unreleased
(Ken Weiner via Stack) (Ken Weiner via Stack)
HBASE-1298 master.jsp & table.jsp do not URI Encode table or region HBASE-1298 master.jsp & table.jsp do not URI Encode table or region
names in links (Lars George via Stack) names in links (Lars George via Stack)
HBASE-1310 Off by one error in Bytes.vintToBytes
IMPROVEMENTS IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -241,7 +241,6 @@ public class Bytes {
result[offset] = ((byte)i); result[offset] = ((byte)i);
return result; return result;
} }
offset++;
int len = -112; int len = -112;
if (i < 0) { if (i < 0) {
@ -535,4 +534,4 @@ public class Bytes {
result[0] = column; result[0] = column;
return result; return result;
} }
} }