directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject directory-kerby git commit: Fix PMD issues.
Date Tue, 13 Feb 2018 03:16:05 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/trunk f81bbf549 -> 821313d1d


Fix PMD issues.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/821313d1
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/821313d1
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/821313d1

Branch: refs/heads/trunk
Commit: 821313d1d94e1c36112a87afc435f2def567f8a2
Parents: f81bbf5
Author: plusplusjiajia <jiajia.li@intel.com>
Authored: Tue Feb 13 11:12:43 2018 +0800
Committer: plusplusjiajia <jiajia.li@intel.com>
Committed: Tue Feb 13 11:12:43 2018 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kerby/has/client/HasInitClient.java | 4 ----
 kerby-tool/has-tool/pom.xml                                      | 2 +-
 .../main/java/org/apache/kerby/kerberos/tool/HasInitTool.java    | 2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/821313d1/has-project/has-client/src/main/java/org/apache/kerby/has/client/HasInitClient.java
----------------------------------------------------------------------
diff --git a/has-project/has-client/src/main/java/org/apache/kerby/has/client/HasInitClient.java
b/has-project/has-client/src/main/java/org/apache/kerby/has/client/HasInitClient.java
index 5d28867..ff017cb 100644
--- a/has-project/has-client/src/main/java/org/apache/kerby/has/client/HasInitClient.java
+++ b/has-project/has-client/src/main/java/org/apache/kerby/has/client/HasInitClient.java
@@ -23,7 +23,6 @@ import com.sun.jersey.api.client.WebResource;
 import com.sun.jersey.api.client.config.ClientConfig;
 import com.sun.jersey.api.client.config.DefaultClientConfig;
 import com.sun.jersey.client.urlconnection.HTTPSProperties;
-import com.sun.jersey.core.util.MultivaluedMapImpl;
 import org.apache.kerby.has.common.HasConfig;
 import org.codehaus.jettison.json.JSONException;
 import org.codehaus.jettison.json.JSONObject;
@@ -34,12 +33,9 @@ import org.slf4j.LoggerFactory;
 import javax.net.ssl.HostnameVerifier;
 import javax.net.ssl.SSLContext;
 import javax.net.ssl.SSLSession;
-import javax.ws.rs.core.MultivaluedMap;
 import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
-import java.net.HttpURLConnection;
-import java.net.URL;
 
 /**
  * HAS client API for applications to interact with HAS server

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/821313d1/kerby-tool/has-tool/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-tool/has-tool/pom.xml b/kerby-tool/has-tool/pom.xml
index 36328ed..3401025 100644
--- a/kerby-tool/has-tool/pom.xml
+++ b/kerby-tool/has-tool/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <artifactId>kerby-tool</artifactId>
         <groupId>org.apache.kerby</groupId>
-        <version>1.1.1-SNAPSHOT</version>
+        <version>2.0.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/821313d1/kerby-tool/has-tool/src/main/java/org/apache/kerby/kerberos/tool/HasInitTool.java
----------------------------------------------------------------------
diff --git a/kerby-tool/has-tool/src/main/java/org/apache/kerby/kerberos/tool/HasInitTool.java
b/kerby-tool/has-tool/src/main/java/org/apache/kerby/kerberos/tool/HasInitTool.java
index bd0a466..b94b618 100644
--- a/kerby-tool/has-tool/src/main/java/org/apache/kerby/kerberos/tool/HasInitTool.java
+++ b/kerby-tool/has-tool/src/main/java/org/apache/kerby/kerberos/tool/HasInitTool.java
@@ -24,9 +24,9 @@ import org.apache.kerby.has.common.HasConfig;
 import org.apache.kerby.has.common.HasException;
 import org.apache.kerby.has.common.util.HasUtil;
 import org.apache.kerby.kerberos.kerb.KrbException;
+import org.apache.kerby.kerberos.tool.cmd.InitCmd;
 import org.apache.kerby.kerberos.tool.cmd.InitKdcCmd;
 import org.apache.kerby.kerberos.tool.cmd.StartKdcCmd;
-import org.apache.kerby.kerberos.tool.cmd.InitCmd;
 import org.apache.kerby.util.OSUtil;
 
 import java.io.File;


Mime
View raw message