You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2019/05/13 09:16:15 UTC

[cxf] branch master updated: cxf-rt-rs-security-oauth2: remove unused throws declarations #2

This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 08f7177  cxf-rt-rs-security-oauth2: remove unused throws declarations #2
08f7177 is described below

commit 08f7177ac2746b70e41c21bcbe9fb62f47a3b996
Author: amarkevich <am...@talend.com>
AuthorDate: Mon May 13 12:15:22 2019 +0300

    cxf-rt-rs-security-oauth2: remove unused throws declarations #2
---
 .../cxf/rs/security/oauth2/grants/code/JCacheCodeDataProvider.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProvider.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProvider.java
index 6f84468..ed9d982 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProvider.java
@@ -40,7 +40,7 @@ public class JCacheCodeDataProvider extends JCacheOAuthDataProvider
     private long codeLifetime = 10 * 60;
     private Cache<String, ServerAuthorizationCodeGrant> grantCache;
 
-    protected JCacheCodeDataProvider() throws Exception {
+    protected JCacheCodeDataProvider() {
         this(DEFAULT_CONFIG_URL, BusFactory.getThreadDefaultBus(true));
     }