cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-7374] Fixing a typo as spotted by Adrian
Date Mon, 29 May 2017 11:17:32 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 8a1cd9a9f -> 3847be0cd


[CXF-7374] Fixing a typo as spotted by Adrian


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

Branch: refs/heads/3.1.x-fixes
Commit: 3847be0cdb86d2788742dd512b204691131e6fba
Parents: 8a1cd9a
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon May 29 12:15:14 2017 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon May 29 12:17:14 2017 +0100

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java | 2 +-
 .../security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3847be0c/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
index 78fc2b6..8d8ed83 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
@@ -213,7 +213,7 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider,
Cl
         if (recycleRefreshTokens) {
             createNewRefreshToken(at);
         } else {
-            updateRefreshToken(currentRefreshToken, at);
+            updateExistingRefreshToken(currentRefreshToken, at);
         }
         return at;
     }

http://git-wip-us.apache.org/repos/asf/cxf/blob/3847be0c/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java
b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java
index 142b2f6..12a838b 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JPACMTOAuthDataProviderTest.java
@@ -115,7 +115,7 @@ public class JPACMTOAuthDataProviderTest extends JPAOAuthDataProviderTest
{
         List<String> atl = rtl.get(0).getAccessTokens();
         assertNotNull(atl);
 
-        assertEquals(2, atl.size());
+        assertEquals(4, atl.size());
     }
 }
 


Mime
View raw message