cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/5] cxf git commit: Minor spelling correction
Date Tue, 08 Dec 2015 15:37:07 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 83e95f902 -> dfe90b649


Minor spelling correction


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

Branch: refs/heads/3.1.x-fixes
Commit: afd152785fda8d642034721f457b62eb6c35a6b6
Parents: 83e95f9
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Dec 8 10:57:41 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Dec 8 15:31:08 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/afd15278/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 b77dce9..3c88608 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
@@ -136,8 +136,8 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider,
Cl
     
 
     @Override
-    public List<OAuthPermission> convertScopeToPermissions(Client client, List<String>
requestedScope) {
-        if (requestedScope.isEmpty()) {
+    public List<OAuthPermission> convertScopeToPermissions(Client client, List<String>
requestedScopes) {
+        if (requestedScopes.isEmpty()) {
             return Collections.emptyList();
         } else {
             throw new OAuthServiceException("Requested scopes can not be mapped");

http://git-wip-us.apache.org/repos/asf/cxf/blob/afd15278/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.java
index d2b52e4..8223e9a 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.java
@@ -103,9 +103,9 @@ public interface OAuthDataProvider {
 
     /**
      * Converts the requested scope to the list of permissions  
-     * @param requestedScope
+     * @param requestedScopes
      * @return list of permissions
      */
     List<OAuthPermission> convertScopeToPermissions(Client client,
-                                                    List<String> requestedScope);
+                                                    List<String> requestedScopes);
 }


Mime
View raw message