cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/7] cxf git commit: Minor spelling correction
Date Tue, 08 Dec 2015 18:06:41 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 8478e96dd -> ca1d759d9


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/d29fa674
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d29fa674
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d29fa674

Branch: refs/heads/3.0.x-fixes
Commit: d29fa6746140cd4702861511896c8f5f3b68a97a
Parents: 8478e96
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:37:27 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/d29fa674/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 a17e1c8..11c66da 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
@@ -81,8 +81,8 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider
{
     
 
     @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/d29fa674/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