directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [17/48] directory-kerby git commit: Checkstyle fix
Date Wed, 04 Nov 2015 08:25:43 GMT
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/f9d9974b
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/f9d9974b
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/f9d9974b

Branch: refs/heads/pkinit-support
Commit: f9d9974b92bf16e3a3cf65a73245ee73d2aed5cc
Parents: 3dd63f3
Author: Stefan Seelmann <mail@stefan-seelmann.de>
Authored: Mon Sep 28 19:55:42 2015 +0200
Committer: Stefan Seelmann <mail@stefan-seelmann.de>
Committed: Mon Sep 28 19:55:42 2015 +0200

----------------------------------------------------------------------
 .../kerberos/kdc/identitybackend/JsonIdentityBackend.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/f9d9974b/kerby-backend/json-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/JsonIdentityBackend.java
----------------------------------------------------------------------
diff --git a/kerby-backend/json-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/JsonIdentityBackend.java
b/kerby-backend/json-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/JsonIdentityBackend.java
index 7aadf43..6139ef3 100644
--- a/kerby-backend/json-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/JsonIdentityBackend.java
+++ b/kerby-backend/json-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/JsonIdentityBackend.java
@@ -298,8 +298,8 @@ public class JsonIdentityBackend extends AbstractIdentityBackend {
 
         @Override
         public BatchTrans addIdentity(KrbIdentity identity) throws KrbException {
-            if (identity != null &&
-                    identities.containsKey(identity.getPrincipalName())) {
+            if (identity != null
+                    && identities.containsKey(identity.getPrincipalName())) {
                 identities.put(identity.getPrincipalName(), identity);
             }
             return this;
@@ -307,8 +307,8 @@ public class JsonIdentityBackend extends AbstractIdentityBackend {
 
         @Override
         public BatchTrans updateIdentity(KrbIdentity identity) throws KrbException {
-            if (identity != null &&
-                    identities.containsKey(identity.getPrincipalName())) {
+            if (identity != null
+                    && identities.containsKey(identity.getPrincipalName())) {
                 identities.put(identity.getPrincipalName(), identity);
             }
             return this;


Mime
View raw message