hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1549899 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
Date Tue, 10 Dec 2013 17:23:12 GMT
Author: tedyu
Date: Tue Dec 10 17:23:12 2013
New Revision: 1549899

URL: http://svn.apache.org/r1549899
Log:
HBASE-10112 Hbase rest query params for maxVersions and maxValues are not parsed


Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java?rev=1549899&r1=1549898&r2=1549899&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java Tue Dec
10 17:23:12 2013
@@ -237,7 +237,7 @@ public class RowSpec {
       case 'm': {
         StringBuilder sb = new StringBuilder();
         while (j <= query.length()) {
-          c = query.charAt(i);
+          c = query.charAt(j);
           if (c < '0' || c > '9') {
             j--;
             break;
@@ -249,7 +249,7 @@ public class RowSpec {
       case 'n': {
         StringBuilder sb = new StringBuilder();
         while (j <= query.length()) {
-          c = query.charAt(i);
+          c = query.charAt(j);
           if (c < '0' || c > '9') {
             j--;
             break;



Mime
View raw message