knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-199 ExampleHBase.groovy fails with Sandbox 2 GA (HBase 0.96)
Date Mon, 11 Nov 2013 22:32:33 GMT
Updated Branches:
  refs/heads/v0.3.1 70b9e1435 -> cd55725f2


KNOX-199 ExampleHBase.groovy fails with Sandbox 2 GA (HBase 0.96)


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/cd55725f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/cd55725f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/cd55725f

Branch: refs/heads/v0.3.1
Commit: cd55725f29aabfe06cb54a5a873f0d5e218065f6
Parents: 70b9e14
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Mon Nov 11 14:24:15 2013 -0500
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon Nov 11 17:29:49 2013 -0500

----------------------------------------------------------------------
 .../apache/hadoop/gateway/shell/hbase/table/row/Column.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/cd55725f/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/hbase/table/row/Column.java
----------------------------------------------------------------------
diff --git a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/hbase/table/row/Column.java
b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/hbase/table/row/Column.java
index fee425c..8ba226e 100644
--- a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/hbase/table/row/Column.java
+++ b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/hbase/table/row/Column.java
@@ -39,9 +39,9 @@ public class Column {
   }
 
   public String toURIPart() {
-    StringBuilder sb = new StringBuilder( family );
-    if( qualifier != null && !qualifier.isEmpty() ) {
-      sb.append( ":" ).append( qualifier );
+    StringBuilder sb = new StringBuilder( family ).append( ":" );
+    if( qualifier != null ) {
+      sb.append( qualifier );
     }
     return sb.toString();
   }


Mime
View raw message