You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2017/02/16 10:27:29 UTC

cxf-fediz git commit: Minor tidy-up

Repository: cxf-fediz
Updated Branches:
  refs/heads/master 2681a2643 -> 0dabf1562


Minor tidy-up


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

Branch: refs/heads/master
Commit: 0dabf1562f6ed6994c8e943460ef1107299203c0
Parents: 2681a26
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Thu Feb 16 10:27:22 2017 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Thu Feb 16 10:27:22 2017 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java | 2 +-
 .../main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/0dabf156/plugins/core/src/main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java b/plugins/core/src/main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java
index 4e72863..2ffcad3 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/handler/LogoutHandler.java
@@ -200,7 +200,7 @@ public class LogoutHandler implements RequestHandler<Boolean> {
             }
             responseOutputStream.flush();
         } catch (IOException e) {
-            LOG.error("Could  not send logout image: {}", e.getMessage());
+            LOG.error("Could not send logout image: {}", e.getMessage());
         } finally {
             try {
                 inputStream.close();

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/0dabf156/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java
----------------------------------------------------------------------
diff --git a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java
index 4178b07..dfab9e5 100644
--- a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java
+++ b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/STSUserDetails.java
@@ -54,7 +54,7 @@ public class STSUserDetails extends User {
 
         if (token != null && !token.equals(((STSUserDetails)object).token)) {
             return false;
-        } else  if (token == null && ((STSUserDetails)object).token != null) {
+        } else if (token == null && ((STSUserDetails)object).token != null) {
             return false;
         }