You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/04/25 01:28:58 UTC
ranger git commit: RANGER-1538-Duplicated code,in AtlasClient class
for client = Client.create();
Repository: ranger
Updated Branches:
refs/heads/master fd5972967 -> 8751791d8
RANGER-1538-Duplicated code,in AtlasClient class for client = Client.create();
Signed-off-by: zhangqiang2 <zh...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/8751791d
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/8751791d
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/8751791d
Branch: refs/heads/master
Commit: 8751791d8dae25f2dd6f2499e8f766c5763677db
Parents: fd59729
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Mon Apr 24 11:17:15 2017 +0800
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Mon Apr 24 21:27:56 2017 -0400
----------------------------------------------------------------------
.../java/org/apache/ranger/services/atlas/client/AtlasClient.java | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/8751791d/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
----------------------------------------------------------------------
diff --git a/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java b/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
index 62b67dc..116fceb 100644
--- a/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
+++ b/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
@@ -545,7 +545,6 @@ public class AtlasClient extends BaseClient {
ClientResponse statusResponse = null;
ClientResponse resultResponse = null;
try {
- client = Client.create();
statusResponse = getStatusResponse(client);
if (statusResponse != null) {
if (LOG.isDebugEnabled()) {