Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1997A181FA for ; Tue, 8 Dec 2015 15:24:28 +0000 (UTC) Received: (qmail 48573 invoked by uid 500); 8 Dec 2015 15:24:28 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 48381 invoked by uid 500); 8 Dec 2015 15:24:27 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 48095 invoked by uid 99); 8 Dec 2015 15:24:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2015 15:24:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8B069E0593; Tue, 8 Dec 2015 15:24:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Date: Tue, 08 Dec 2015 15:24:29 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/5] cxf git commit: Minor spelling correction 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 Authored: Tue Dec 8 10:57:41 2015 +0000 Committer: Colm O hEigeartaigh 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 convertScopeToPermissions(Client client, List requestedScope) { - if (requestedScope.isEmpty()) { + public List convertScopeToPermissions(Client client, List 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 convertScopeToPermissions(Client client, - List requestedScope); + List requestedScopes); }