HBASE-2402 [stargate] set maxVersions on gets; fix test failure

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@930166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2010-04-02 05:24:54 +00:00
parent f60e26e771
commit 358b82d728
1 changed files with 3 additions and 0 deletions

View File

@ -202,6 +202,9 @@ public class RowSpec {
}
private int parseMaxVersions(final String path, int i) {
if (i >= path.length()) {
return i;
}
String s = path.substring(i);
if (s.startsWith(versionPrefix)) {
this.maxVersions = Integer.valueOf(s.substring(versionPrefix.length()));