cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: Removing some HashMap parameters
Date Thu, 09 Mar 2017 10:34:35 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 84b63d16c -> 33a7e179c


Removing some HashMap parameters


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/33a7e179
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/33a7e179
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/33a7e179

Branch: refs/heads/master
Commit: 33a7e179c3e79b7c437e036aefc545234fc770aa
Parents: 84b63d1
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Mar 9 10:34:26 2017 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Mar 9 10:34:26 2017 +0000

----------------------------------------------------------------------
 .../fediz/service/oidc/clients/ClientRegistrationService.java    | 4 ++--
 .../cxf/fediz/samlsso/service/KeystorePasswordCallback.java      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/33a7e179/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/clients/ClientRegistrationService.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/clients/ClientRegistrationService.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/clients/ClientRegistrationService.java
index 8b182af..4848a55 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/clients/ClientRegistrationService.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/clients/ClientRegistrationService.java
@@ -73,8 +73,8 @@ public class ClientRegistrationService {
     
     private static final Logger LOG = LogUtils.getL7dLogger(ClientRegistrationService.class);
 
-    private Map<String, Collection<Client>> registrations = new HashMap<String,
Collection<Client>>();
-    private Map<String, Set<String>> clientNames = new HashMap<String, Set<String>>();
+    private Map<String, Collection<Client>> registrations = new HashMap<>();
+    private Map<String, Set<String>> clientNames = new HashMap<>();
     private OAuthDataProvider dataProvider;
     private ClientRegistrationProvider clientProvider;
     private Map<String, String> homeRealms = new LinkedHashMap<String, String>();

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/33a7e179/systests/federation/samlWebapp/src/main/java/org/apache/cxf/fediz/samlsso/service/KeystorePasswordCallback.java
----------------------------------------------------------------------
diff --git a/systests/federation/samlWebapp/src/main/java/org/apache/cxf/fediz/samlsso/service/KeystorePasswordCallback.java
b/systests/federation/samlWebapp/src/main/java/org/apache/cxf/fediz/samlsso/service/KeystorePasswordCallback.java
index defb9be..05d2827 100644
--- a/systests/federation/samlWebapp/src/main/java/org/apache/cxf/fediz/samlsso/service/KeystorePasswordCallback.java
+++ b/systests/federation/samlWebapp/src/main/java/org/apache/cxf/fediz/samlsso/service/KeystorePasswordCallback.java
@@ -35,7 +35,7 @@ import org.apache.wss4j.common.ext.WSPasswordCallback;
 public class KeystorePasswordCallback implements CallbackHandler {
 
     private Map<String, String> passwords =
-        new HashMap<String, String>();
+        new HashMap<>();
 
     public KeystorePasswordCallback() {
         passwords.put("realma", "realma");


Mime
View raw message