cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [cxf] branch master updated: Trivial change to use a base type
Date Wed, 21 Feb 2018 16:32:15 GMT
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 5188523  Trivial change to use a base type
5188523 is described below

commit 5188523d89edd94247bbbea70698d64385767a63
Author: Colm O hEigeartaigh <coheigea@apache.org>
AuthorDate: Wed Feb 21 16:26:49 2018 +0000

    Trivial change to use a base type
---
 .../cxf/rs/security/oauth2/client/MemoryClientCodeStateManager.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/MemoryClientCodeStateManager.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/MemoryClientCodeStateManager.java
index 68633c5..989f9c7 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/MemoryClientCodeStateManager.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/MemoryClientCodeStateManager.java
@@ -18,6 +18,7 @@
  */
 package org.apache.cxf.rs.security.oauth2.client;
 
+import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
 import javax.ws.rs.core.MultivaluedMap;
@@ -31,9 +32,11 @@ import org.apache.cxf.rt.security.crypto.CryptoUtils;
 import org.apache.cxf.rt.security.crypto.MessageDigestUtils;
 
 public class MemoryClientCodeStateManager implements ClientCodeStateManager {
-    private ConcurrentHashMap<String, MultivaluedMap<String, String>> map =
+    private Map<String, MultivaluedMap<String, String>> map =
             new ConcurrentHashMap<String, MultivaluedMap<String, String>>();
+
     private boolean generateNonce;
+
     @Override
     public MultivaluedMap<String, String> toRedirectState(MessageContext mc,
                                                           MultivaluedMap<String, String>
requestState) {
@@ -61,6 +64,7 @@ public class MemoryClientCodeStateManager implements ClientCodeStateManager
{
         }
         return map.remove(stateParam);
     }
+
     public void setGenerateNonce(boolean generateNonce) {
         this.generateNonce = generateNonce;
     }

-- 
To stop receiving notification emails like this one, please contact
coheigea@apache.org.

Mime
View raw message