hbase-commits mailing list archives

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

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

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

Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java?rev=1549914&r1=1549913&r2=1549914&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
(original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
Tue Dec 10 18:20:43 2013
@@ -234,7 +234,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;
@@ -246,7 +246,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