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:
parent
f60e26e771
commit
358b82d728
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue