hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1549916 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
Date Tue, 10 Dec 2013 18:20:57 GMT
Author: apurtell
Date: Tue Dec 10 18:20:56 2013
New Revision: 1549916

URL: http://svn.apache.org/r1549916
Log:
HBASE-10112. REST query params for maxVersions and maxValues are not parsed (Jean-Marc Spaggiari)

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java?rev=1549916&r1=1549915&r2=1549916&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java Tue Dec 10
18:20:56 2013
@@ -245,7 +245,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;
@@ -257,7 +257,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