directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [24/36] directory-kerby git commit: Checkstyle plugin update
Date Mon, 15 Feb 2016 02:42:48 GMT
Checkstyle plugin update


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

Branch: refs/heads/kadmin-remote
Commit: 6a47f2ecb0d71addb7b4c48dc897803e1531c5bd
Parents: 957bd93
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Jan 27 17:04:06 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Jan 27 17:04:06 2016 +0000

----------------------------------------------------------------------
 .../kerberos/kdc/identitybackend/LdapIdentityBackend.java    | 2 +-
 .../apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java | 4 ++--
 .../src/main/java/org/apache/kerby/asn1/TagClass.java        | 2 +-
 .../src/main/java/org/apache/kerby/asn1/UniversalTag.java    | 2 +-
 .../src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java   | 2 +-
 .../src/main/java/org/apache/kerby/config/ConfigObject.java  | 2 +-
 .../src/main/java/org/apache/kerby/config/Resource.java      | 6 +++---
 .../src/test/java/org/apache/kerby/config/ConfTest.java      | 4 ++--
 .../org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java  | 2 +-
 .../kerb/integration/test/jaas/TokenJaasKrbUtil.java         | 4 ++--
 .../org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java  | 4 ++--
 .../java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java  | 2 +-
 .../kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java   | 2 +-
 .../java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java    | 2 +-
 .../kerby/kerberos/kerb/type/ad/AuthorizationType.java       | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/ap/ApOption.java     | 4 ++--
 .../apache/kerby/kerberos/kerb/type/base/CheckSumType.java   | 2 +-
 .../apache/kerby/kerberos/kerb/type/base/EncryptionType.java | 2 +-
 .../apache/kerby/kerberos/kerb/type/base/HostAddrType.java   | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java   | 2 +-
 .../apache/kerby/kerberos/kerb/type/base/KrbMessageType.java | 2 +-
 .../apache/kerby/kerberos/kerb/type/base/LastReqType.java    | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/base/NameType.java   | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/base/SamType.java    | 2 +-
 .../apache/kerby/kerberos/kerb/type/base/TokenFormat.java    | 2 +-
 .../kerby/kerberos/kerb/type/base/TransitedEncodingType.java | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java  | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/fast/FastOption.java | 2 +-
 .../org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java   | 2 +-
 .../apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java  | 2 +-
 .../apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java   | 2 +-
 .../org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java | 2 +-
 .../org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java     | 2 +-
 .../apache/kerby/kerberos/kerb/server/GssInteropTest.java    | 6 +++---
 .../org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java  | 4 ++--
 .../org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java   | 8 ++++----
 .../java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java | 4 ++--
 pom.xml                                                      | 2 +-
 38 files changed, 52 insertions(+), 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
----------------------------------------------------------------------
diff --git a/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
b/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
index 99110a5..99ba85d 100644
--- a/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
+++ b/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
@@ -155,7 +155,7 @@ public class LdapIdentityBackend extends AbstractIdentityBackend {
         private byte[][] keys;
         private String[] kvnos;
 
-        public KeysInfo(KrbIdentity identity) throws KrbException {
+        KeysInfo(KrbIdentity identity) throws KrbException {
             Map<EncryptionType, EncryptionKey> keymap = identity.getKeys();
             this.etypes = new String[keymap.size()];
             this.keys = new byte[keymap.size()][];

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-backend/zookeeper-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java
----------------------------------------------------------------------
diff --git a/kerby-backend/zookeeper-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java
b/kerby-backend/zookeeper-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java
index 77571cd..96f5ced 100644
--- a/kerby-backend/zookeeper-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java
+++ b/kerby-backend/zookeeper-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/ZKConfKey.java
@@ -32,11 +32,11 @@ public enum ZKConfKey implements ConfigKey {
 
     private Object defaultValue;
 
-    private ZKConfKey() {
+    ZKConfKey() {
         this.defaultValue = null;
     }
 
-    private ZKConfKey(Object defaultValue) {
+    ZKConfKey(Object defaultValue) {
         this.defaultValue = defaultValue;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/TagClass.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/TagClass.java b/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/TagClass.java
index 8d02917..5d81614 100644
--- a/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/TagClass.java
+++ b/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/TagClass.java
@@ -35,7 +35,7 @@ public enum TagClass {
      * The constructor given the value.
      * @param value
      */
-    private TagClass(int value) {
+    TagClass(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/UniversalTag.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/UniversalTag.java
b/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/UniversalTag.java
index f423b19..afded6b 100644
--- a/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/UniversalTag.java
+++ b/kerby-common/kerby-asn1/src/main/java/org/apache/kerby/asn1/UniversalTag.java
@@ -71,7 +71,7 @@ public enum UniversalTag {
     /**
      * Create an instance of this class
      */
-    private UniversalTag(int value) {
+    UniversalTag(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java
b/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java
index 3182811..d20a843 100644
--- a/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java
+++ b/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1FlagsTest.java
@@ -50,7 +50,7 @@ public class Asn1FlagsTest {
     
     private int value;
     
-    private TestEnum(int value) {
+    TestEnum(int value) {
       this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/ConfigObject.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/ConfigObject.java
b/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/ConfigObject.java
index 2be3972..98b78e4 100644
--- a/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/ConfigObject.java
+++ b/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/ConfigObject.java
@@ -23,7 +23,7 @@ import java.util.ArrayList;
 import java.util.List;
 
 public class ConfigObject {
-    protected static enum ValueType { PROPERTY, LIST, CONFIG };
+    protected enum ValueType { PROPERTY, LIST, CONFIG };
 
     private ValueType valueType;
     private Object value;

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/Resource.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/Resource.java
b/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/Resource.java
index 0c5d23e..d0cd70c 100644
--- a/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/Resource.java
+++ b/kerby-common/kerby-config/src/main/java/org/apache/kerby/config/Resource.java
@@ -28,7 +28,7 @@ import java.util.Map;
 import java.util.Properties;
 
 public final class Resource {
-    public static enum Format {
+    public enum Format {
         XML_FILE(XmlConfigLoader.class),
         INI_FILE(IniConfigLoader.class),
         JSON_FILE(JsonConfigLoader.class),
@@ -38,7 +38,7 @@ public final class Resource {
 
         private Class<? extends ConfigLoader> loaderClass;
 
-        private Format(Class<? extends ConfigLoader> loaderClass) {
+        Format(Class<? extends ConfigLoader> loaderClass) {
             this.loaderClass = loaderClass;
         }
 
@@ -118,4 +118,4 @@ public final class Resource {
     public Format getFormat() {
         return format;
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-common/kerby-config/src/test/java/org/apache/kerby/config/ConfTest.java
----------------------------------------------------------------------
diff --git a/kerby-common/kerby-config/src/test/java/org/apache/kerby/config/ConfTest.java
b/kerby-common/kerby-config/src/test/java/org/apache/kerby/config/ConfTest.java
index 3dc4b70..c2f5aca 100644
--- a/kerby-common/kerby-config/src/test/java/org/apache/kerby/config/ConfTest.java
+++ b/kerby-common/kerby-config/src/test/java/org/apache/kerby/config/ConfTest.java
@@ -94,14 +94,14 @@ public class ConfTest {
         assertThat(conf.getBoolean("boolProp")).isEqualTo(boolProp);
     }
 
-    static enum TestConfKey implements ConfigKey {
+    enum TestConfKey implements ConfigKey {
         ADDRESS("127.0.0.1"),
         PORT(8015),
         ENABLE(false);
 
         private Object defaultValue;
 
-        private TestConfKey(Object defaultValue) {
+        TestConfKey(Object defaultValue) {
             this.defaultValue = defaultValue;
         }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java
----------------------------------------------------------------------
diff --git a/kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java
b/kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java
index c36dcff..86160a9 100644
--- a/kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java
+++ b/kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcNetwork.java
@@ -99,7 +99,7 @@ public class NettyKdcNetwork {
     }
 
     static class KrbMessageDecoder extends LengthFieldBasedFrameDecoder {
-        public KrbMessageDecoder() {
+        KrbMessageDecoder() {
             super(1 * 1024 * 1024, 0, 4, 0, 4, true);
         }
     }

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
b/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
index 46b1fa0..88e47b0 100644
--- a/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
+++ b/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
@@ -108,7 +108,7 @@ public class TokenJaasKrbUtil {
         private File ccache;
         private File signKeyFile;
 
-        public TokenJaasConf(String principal, File tokenCache, File armorCache, File ccache,
+        TokenJaasConf(String principal, File tokenCache, File armorCache, File ccache,
             File signKeyFile) {
             this.principal = principal;
             this.tokenCache = tokenCache;
@@ -117,7 +117,7 @@ public class TokenJaasKrbUtil {
             this.signKeyFile = signKeyFile;
         }
 
-        public TokenJaasConf(String principal, String tokenStr, File armorCache, File ccache,
+        TokenJaasConf(String principal, String tokenStr, File armorCache, File ccache,
             File signKeyFile) {
             this.principal = principal;
             this.tokenStr = tokenStr;

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
index 4d5aa1d..44b5429 100644
--- a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
+++ b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
@@ -64,11 +64,11 @@ public enum KrbConfigKey implements ConfigKey {
 
     private Object defaultValue;
 
-    private KrbConfigKey() {
+    KrbConfigKey() {
         this.defaultValue = null;
     }
 
-    private KrbConfigKey(Object defaultValue) {
+    KrbConfigKey(Object defaultValue) {
         this.defaultValue = defaultValue;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java
b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java
index f29d088..048394f 100644
--- a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java
+++ b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/PaFlag.java
@@ -28,7 +28,7 @@ public enum PaFlag implements EnumType {
 
     private final int value;
 
-    private PaFlag(int value) {
+    PaFlag(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java
b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java
index 9b26c55..59051a6 100644
--- a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java
+++ b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/CmsMessageType.java
@@ -35,7 +35,7 @@ public enum CmsMessageType {
     /**
      * Create an instance of this class
      */
-    private CmsMessageType(int value) {
+    CmsMessageType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java
index 708c188..cd4ad1e 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/KrbErrorCode.java
@@ -101,7 +101,7 @@ public enum KrbErrorCode implements EnumType {
     private final int value;
     private final String message;
 
-    private KrbErrorCode(int value, String message) {
+    KrbErrorCode(int value, String message) {
         this.value = value;
         this.message = message;
     }

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ad/AuthorizationType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ad/AuthorizationType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ad/AuthorizationType.java
index b4c8e16..4718206 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ad/AuthorizationType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ad/AuthorizationType.java
@@ -129,7 +129,7 @@ public enum AuthorizationType implements EnumType {
     /**
      * Create a new enum 
      */
-    private AuthorizationType(int value) {
+    AuthorizationType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ap/ApOption.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ap/ApOption.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ap/ApOption.java
index a85bbfe..e3ee498 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ap/ApOption.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ap/ApOption.java
@@ -58,7 +58,7 @@ public enum ApOption implements EnumType {
     /**
      * Create a new enum 
      */
-    private ApOption(int value) {
+    ApOption(int value) {
         this.value = value;
     }
 
@@ -93,4 +93,4 @@ public enum ApOption implements EnumType {
 
         return NONE;
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
index 7928541..ff611be 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
@@ -94,7 +94,7 @@ public enum CheckSumType implements EnumType {
     /**
      * Create a new enum instance
      */
-    private CheckSumType(int value, String name, String displayName) {
+    CheckSumType(int value, String name, String displayName) {
         this.value = value;
         this.name = name;
         this.displayName = displayName;

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/EncryptionType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/EncryptionType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/EncryptionType.java
index 29c4c23..86962de 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/EncryptionType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/EncryptionType.java
@@ -89,7 +89,7 @@ public enum EncryptionType implements EnumType {
 
     private final String displayName;
 
-    private EncryptionType(int value, String name, String displayName) {
+    EncryptionType(int value, String name, String displayName) {
         this.value = value;
         this.name = name;
         this.displayName = displayName;

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/HostAddrType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/HostAddrType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/HostAddrType.java
index 9e730c2..21ae885 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/HostAddrType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/HostAddrType.java
@@ -85,7 +85,7 @@ public enum HostAddrType implements EnumType {
     /**
      * Create a new enum instance
      */
-    private HostAddrType(int value) {
+    HostAddrType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java
index bf77407..44256cc 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KeyUsage.java
@@ -104,7 +104,7 @@ public enum KeyUsage implements EnumType {
 
     private int value;
 
-    private KeyUsage(int value) {
+    KeyUsage(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KrbMessageType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KrbMessageType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KrbMessageType.java
index 003f572..b2bfd5c 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KrbMessageType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/KrbMessageType.java
@@ -59,7 +59,7 @@ public enum KrbMessageType implements EnumType {
     /**
      * Create a new enum 
      */
-    private KrbMessageType(int value) {
+    KrbMessageType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/LastReqType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/LastReqType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/LastReqType.java
index c68ea8c..f12d128 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/LastReqType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/LastReqType.java
@@ -40,7 +40,7 @@ public enum LastReqType implements EnumType {
 
     private int value;
 
-    private LastReqType(int value) {
+    LastReqType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/NameType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/NameType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/NameType.java
index ca0b196..f3f5f3c 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/NameType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/NameType.java
@@ -44,7 +44,7 @@ public enum NameType implements EnumType {
     /**
      * Create a new enum 
      */
-    private NameType(int value) {
+    NameType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/SamType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/SamType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/SamType.java
index f9146f5..de46dbf 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/SamType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/SamType.java
@@ -43,7 +43,7 @@ public enum SamType implements EnumType {
 
     private int value;
 
-    private SamType(int value) {
+    SamType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TokenFormat.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TokenFormat.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TokenFormat.java
index 477b5be..3dd95ad 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TokenFormat.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TokenFormat.java
@@ -27,7 +27,7 @@ public enum TokenFormat implements EnumType {
 
     private final int value;
 
-    private TokenFormat(int value) {
+    TokenFormat(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TransitedEncodingType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TransitedEncodingType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TransitedEncodingType.java
index ed988eb..963f3a7 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TransitedEncodingType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/TransitedEncodingType.java
@@ -28,7 +28,7 @@ public enum TransitedEncodingType implements EnumType {
 
     private final int value;
 
-    private TransitedEncodingType(int value) {
+    TransitedEncodingType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java
index ac6129d..c2fc650 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/ArmorType.java
@@ -27,7 +27,7 @@ public enum ArmorType implements EnumType {
 
     private final int value;
 
-    private ArmorType(int value) {
+    ArmorType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/FastOption.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/FastOption.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/FastOption.java
index 8330922..d253e88 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/FastOption.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/fast/FastOption.java
@@ -30,7 +30,7 @@ public enum FastOption implements EnumType {
 
     private final int value;
 
-    private FastOption(int value) {
+    FastOption(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java
index fea2097..ecf5f95 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/PaDataType.java
@@ -170,7 +170,7 @@ public enum PaDataType implements EnumType {
     /**
      * Create a new enum instance
      */
-    private PaDataType(int value) {
+    PaDataType(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java
index a4f2211..d5325e6 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/pa/token/TokenFlag.java
@@ -30,7 +30,7 @@ public enum TokenFlag implements EnumType {
 
     private final int value;
 
-    private TokenFlag(int value) {
+    TokenFlag(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java
index 942af84..4bde504 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/ticket/TicketFlag.java
@@ -41,7 +41,7 @@ public enum TicketFlag implements EnumType {
 
     private final int value;
 
-    private TicketFlag(int value) {
+    TicketFlag(int value) {
         this.value = value;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java
b/kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java
index 666621a..6834d0b 100644
--- a/kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java
+++ b/kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/enc/DesCbcEnc.java
@@ -29,7 +29,7 @@ import org.apache.kerby.kerberos.kerb.KrbException;
 
 abstract class DesCbcEnc extends AbstractEncTypeHandler {
 
-    public DesCbcEnc(HashProvider hashProvider) {
+    DesCbcEnc(HashProvider hashProvider) {
         super(new DesProvider(), hashProvider, 16);
         keyMaker(new DesKeyMaker(this.encProvider()));
     }

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-crypto/src/test/java/org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-crypto/src/test/java/org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java
b/kerby-kerb/kerb-crypto/src/test/java/org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java
index c0cf9cb..841f1e5 100644
--- a/kerby-kerb/kerb-crypto/src/test/java/org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java
+++ b/kerby-kerb/kerb-crypto/src/test/java/org/apache/kerby/kerberos/kerb/crypto/Crc32Test.java
@@ -34,7 +34,7 @@ public class Crc32Test {
         String data;
         long answer;
 
-        public TestCase(String data, long answer) {
+        TestCase(String data, long answer) {
             this.data = data;
             this.answer = answer;
         }

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-kdc-test/src/test/java/org/apache/kerby/kerberos/kerb/server/GssInteropTest.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-kdc-test/src/test/java/org/apache/kerby/kerberos/kerb/server/GssInteropTest.java
b/kerby-kerb/kerb-kdc-test/src/test/java/org/apache/kerby/kerberos/kerb/server/GssInteropTest.java
index 158cda1..832d59d 100644
--- a/kerby-kerb/kerb-kdc-test/src/test/java/org/apache/kerby/kerberos/kerb/server/GssInteropTest.java
+++ b/kerby-kerb/kerb-kdc-test/src/test/java/org/apache/kerby/kerberos/kerb/server/GssInteropTest.java
@@ -86,7 +86,7 @@ public class GssInteropTest extends LoginTestBase {
         private Principal clientPrincipal;
         private String serviceName;
 
-        public KerberosClientExceptionAction(Principal clientPrincipal, String serviceName)
{
+        KerberosClientExceptionAction(Principal clientPrincipal, String serviceName) {
             this.clientPrincipal = clientPrincipal;
             this.serviceName = serviceName;
         }
@@ -129,7 +129,7 @@ public class GssInteropTest extends LoginTestBase {
         private byte[] ticket;
         private String serviceName;
 
-        public KerberosServiceExceptionAction(byte[] ticket, String serviceName) {
+        KerberosServiceExceptionAction(byte[] ticket, String serviceName) {
             this.ticket = ticket;
             this.serviceName = serviceName;
         }
@@ -156,4 +156,4 @@ public class GssInteropTest extends LoginTestBase {
         }
 
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java
b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java
index bca18ad..6782d3e 100644
--- a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java
+++ b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/KdcConfigKey.java
@@ -57,11 +57,11 @@ public enum KdcConfigKey implements ConfigKey {
 
     private Object defaultValue;
 
-    private KdcConfigKey() {
+    KdcConfigKey() {
         this.defaultValue = null;
     }
 
-    private KdcConfigKey(Object defaultValue) {
+    KdcConfigKey(Object defaultValue) {
         this.defaultValue = defaultValue;
     }
 

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java
b/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java
index 0d6f366..224d869 100644
--- a/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java
+++ b/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/client/JaasKrbUtil.java
@@ -115,7 +115,7 @@ public final class JaasKrbUtil {
         private String principal;
         private File keytabFile;
 
-        public KeytabJaasConf(String principal, File keytab) {
+        KeytabJaasConf(String principal, File keytab) {
             this.principal = principal;
             this.keytabFile = keytab;
         }
@@ -144,7 +144,7 @@ public final class JaasKrbUtil {
         private String principal;
         private File clientCredentialFile;
 
-        public TicketCacheJaasConf(String principal, File clientCredentialFile) {
+        TicketCacheJaasConf(String principal, File clientCredentialFile) {
             this.principal = principal;
             this.clientCredentialFile = clientCredentialFile;
         }
@@ -172,7 +172,7 @@ public final class JaasKrbUtil {
     static class PasswordJaasConf extends Configuration {
         private String principal;
 
-        public PasswordJaasConf(String principal) {
+        PasswordJaasConf(String principal) {
             this.principal = principal;
         }
 
@@ -218,4 +218,4 @@ public final class JaasKrbUtil {
         }
     }
 
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java
----------------------------------------------------------------------
diff --git a/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java
b/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java
index 8f53ba3..f0f3f62 100644
--- a/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java
+++ b/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/AuthUtil.java
@@ -85,7 +85,7 @@ public class AuthUtil {
         private String principal;
         private File clientCredentialFile;
 
-        public TicketCacheJaasConf(String principal, File clientCredentialFile) {
+        TicketCacheJaasConf(String principal, File clientCredentialFile) {
             this.principal = principal;
             this.clientCredentialFile = clientCredentialFile;
         }
@@ -114,7 +114,7 @@ public class AuthUtil {
         private String principal;
         private File keytabFile;
 
-        public KeytabJaasConf(String principal, File keytab) {
+        KeytabJaasConf(String principal, File keytab) {
             this.principal = principal;
             this.keytabFile = keytab;
         }

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6a47f2ec/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2643596..d3ad6fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,7 +222,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>2.15</version>
+          <version>2.17</version>
           <configuration>
             <configLocation>${buildtools.dir}/kerby-checkstyle.xml</configLocation>
             <includeTestSourceDirectory>true</includeTestSourceDirectory>


Mime
View raw message