cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [3/5] cxf git commit: Minor spelling correction
Date Tue, 08 Dec 2015 15:24:29 GMT
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/948ea05d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/948ea05d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/948ea05d

Branch: refs/heads/master
Commit: 948ea05d1775dfc0a349ac32ec74a8f8cc8d5e49
Parents: 55cbd9f
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:22: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/948ea05d/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/948ea05d/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