directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject directory-kerby git commit: Checkstyle fix
Date Thu, 07 Jul 2016 09:53:05 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/trunk d4683daac -> 8d8afdb67


Checkstyle fix


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

Branch: refs/heads/trunk
Commit: 8d8afdb67f5dca2a9929bca4389693077d4b9fdb
Parents: d4683da
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Jul 7 10:52:58 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Jul 7 10:52:58 2016 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/8d8afdb6/kerby-kerb/kerb-common/src/test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java
b/kerby-kerb/kerb-common/src/test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java
index 9571b42..691b6b7 100644
--- a/kerby-kerb/kerb-common/src/test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java
+++ b/kerby-kerb/kerb-common/src/test/java/org/apache/kerby/kerberos/kerb/CryptoTest.java
@@ -62,16 +62,16 @@ public class CryptoTest {
         // Now validate the certificate chain
         
         List<X509Certificate> certsPathList = new ArrayList<>(2);
-        certsPathList.add((X509Certificate)certs2.get(0));
+        certsPathList.add((X509Certificate) certs2.get(0));
         List<Certificate> cacerts = CertificateHelper.loadCerts("cacerttest.pem");
-        certsPathList.add((X509Certificate)cacerts.get(0));
+        certsPathList.add((X509Certificate) cacerts.get(0));
         
         CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509");
         CertPath certPath = certificateFactory.generateCertPath(certsPathList);
         
         CertPathValidator cpv = CertPathValidator.getInstance("PKIX");
 
-        TrustAnchor trustAnchor = new TrustAnchor((X509Certificate)cacerts.get(0), null);
+        TrustAnchor trustAnchor = new TrustAnchor((X509Certificate) cacerts.get(0), null);
 
         PKIXParameters parameters = new PKIXParameters(Collections.singleton(trustAnchor));
         parameters.setRevocationEnabled(false);


Mime
View raw message