cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf-fediz git commit: Minor update to the way the client is removed
Date Wed, 13 Jan 2016 17:14:51 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 4f4e74267 -> e26b4a85b


Minor update to the way the client is removed


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

Branch: refs/heads/master
Commit: e26b4a85b24c8f0a538ed89531fec3703d9dbf20
Parents: 4f4e742
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Jan 13 17:14:29 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed Jan 13 17:14:29 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/fediz/service/oidc/ClientRegistrationService.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/e26b4a85/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
index f5c10bf..b5dfff5 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
@@ -92,8 +92,8 @@ public class ClientRegistrationService {
         for (Iterator<Client> it = clients.iterator(); it.hasNext();) {
             Client c = it.next();
             if (c.getClientId().equals(id)) {
-                it.remove();
                 manager.removeClient(id);
+                it.remove();
                 break;
             }
         }


Mime
View raw message