hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1549900 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
Date Tue, 10 Dec 2013 17:24:04 GMT
Author: tedyu
Date: Tue Dec 10 17:24:04 2013
New Revision: 1549900

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


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

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java?rev=1549900&r1=1549899&r2=1549900&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
(original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowSpec.java
Tue Dec 10 17:24:04 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