directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [1/3] directory-kerby git commit: Use star import of MyEnum.
Date Mon, 14 Dec 2015 09:34:25 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/pkinit-support dc1e21697 -> 06b34435e


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/06b34435/kerby-pkix/src/main/java/org/apache/kerby/x509/type/Time.java
----------------------------------------------------------------------
diff --git a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/Time.java b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/Time.java
index 56ccc41..93e6873 100644
--- a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/Time.java
+++ b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/Time.java
@@ -19,16 +19,12 @@
  */
 package org.apache.kerby.x509.type;
 
-import org.apache.kerby.asn1.Asn1FieldInfo;
-import org.apache.kerby.asn1.EnumType;
-import org.apache.kerby.asn1.type.Asn1Choice;
-import org.apache.kerby.asn1.type.Asn1GeneralizedTime;
-import org.apache.kerby.asn1.type.Asn1UtcTime;
+import org.apache.kerby.asn1.*;
+import org.apache.kerby.asn1.type.*;
 
 import java.util.Date;
 
-import static org.apache.kerby.x509.type.Time.MyEnum.GENERAL_TIME;
-import static org.apache.kerby.x509.type.Time.MyEnum.UTC_TIME;
+import static org.apache.kerby.x509.type.Time.MyEnum.*;
 
 /**
  *

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/06b34435/kerby-pkix/src/main/java/org/apache/kerby/x509/type/UserNotice.java
----------------------------------------------------------------------
diff --git a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/UserNotice.java b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/UserNotice.java
index c05db5a..48dac84 100644
--- a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/UserNotice.java
+++ b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/UserNotice.java
@@ -19,12 +19,10 @@
  */
 package org.apache.kerby.x509.type;
 
-import org.apache.kerby.asn1.Asn1FieldInfo;
-import org.apache.kerby.asn1.EnumType;
+import org.apache.kerby.asn1.*;
 import org.apache.kerby.asn1.type.Asn1SequenceType;
 
-import static org.apache.kerby.x509.type.UserNotice.MyEnum.EXPLICIT_TEXT;
-import static org.apache.kerby.x509.type.UserNotice.MyEnum.NOTICE_REF;
+import static org.apache.kerby.x509.type.UserNotice.MyEnum.*;
 
 /**
  *

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/06b34435/kerby-pkix/src/main/java/org/apache/kerby/x509/type/V2Form.java
----------------------------------------------------------------------
diff --git a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/V2Form.java b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/V2Form.java
index 03312f0..a0a4284 100644
--- a/kerby-pkix/src/main/java/org/apache/kerby/x509/type/V2Form.java
+++ b/kerby-pkix/src/main/java/org/apache/kerby/x509/type/V2Form.java
@@ -19,14 +19,10 @@
  */
 package org.apache.kerby.x509.type;
 
-import org.apache.kerby.asn1.Asn1FieldInfo;
-import org.apache.kerby.asn1.EnumType;
-import org.apache.kerby.asn1.ExplicitField;
+import org.apache.kerby.asn1.*;
 import org.apache.kerby.asn1.type.Asn1SequenceType;
 
-import static org.apache.kerby.x509.type.V2Form.MyEnum.BASE_CERTIFICATE_ID;
-import static org.apache.kerby.x509.type.V2Form.MyEnum.ISSUER_NAME;
-import static org.apache.kerby.x509.type.V2Form.MyEnum.OBJECT_DIGEST_INFO;
+import static org.apache.kerby.x509.type.V2Form.MyEnum.*;
 
 /**
  * Produce an object suitable for an ASN1OutputStream.


Mime
View raw message