tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jihoon...@apache.org
Subject [2/5] tajo git commit: TAJO-1438: Resolve findbug warnings on Tajo Client Module
Date Mon, 30 Mar 2015 09:57:36 GMT
TAJO-1438: Resolve findbug warnings on Tajo Client Module

Closes #445

Signed-off-by: Jihoon Son <jihoonson@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/5c89130b
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/5c89130b
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/5c89130b

Branch: refs/heads/index_support
Commit: 5c89130bac8229b0a51efcd6edb3dfe29682cec9
Parents: 373d53c
Author: Dongjoon Hyun <dongjoon@apache.org>
Authored: Sun Mar 29 21:32:09 2015 +0900
Committer: Jihoon Son <jihoonson@apache.org>
Committed: Sun Mar 29 21:32:09 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../src/main/java/org/apache/tajo/client/SessionConnection.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/5c89130b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 9895656..3fa205a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -47,6 +47,9 @@ Release 0.11.0 - unreleased
 
   BUG FIXES
 
+    TAJO-1438: Resolve findbug warnings on Tajo Client Module. 
+    (Contributed by Dongjoon Hyun, Committed by jihoon)
+
     TAJO-1440: Some tests fail in parallel test environment in TestKillQuery.
     (Contributed by Jongyoung Park. Committed by jinho)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/5c89130b/tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
----------------------------------------------------------------------
diff --git a/tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java b/tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
index c084d95..6363198 100644
--- a/tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
+++ b/tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
@@ -271,7 +271,7 @@ public class SessionConnection implements Closeable {
       }
     }.withRetries();
 
-    if (selected == Boolean.TRUE) {
+    if (selected) {
       this.baseDatabase = databaseName;
     }
     return selected;


Mime
View raw message