knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject git commit: KNOX-199 ExampleHBase.groovy fails with Sandbox 2 GA (HBase 0.96)
Date Mon, 11 Nov 2013 19:25:15 GMT
Updated Branches:
  refs/heads/master 48fae88a5 -> eb491fc23


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/eb491fc2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/eb491fc2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/eb491fc2

Branch: refs/heads/master
Commit: eb491fc236bc11756f2e54313d9ee699e7088d2d
Parents: 48fae88
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Mon Nov 11 14:24:15 2013 -0500
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Mon Nov 11 14:24:15 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/eb491fc2/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