cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing the distro checkstyle issues
Date Fri, 16 Jan 2015 13:03:16 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7d3944d6e -> 6359c930b


Fixing the distro checkstyle issues


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

Branch: refs/heads/master
Commit: 6359c930bb27b0ea589c7c2d7ed552babe4897ed
Parents: 7d3944d
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Jan 16 13:02:59 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Jan 16 13:02:59 2015 +0000

----------------------------------------------------------------------
 .../src/main/java/demo/jaxrs/server/BigQueryService.java    | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6359c930/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
index 5940fa5..79d73b8 100644
--- a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
+++ b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
@@ -100,7 +100,7 @@ public class BigQueryService {
             boolean postMessage) {
 
         // Get the access token
-        ClientAccessToken at = getClientAccessToken(consumer, code, postMessage);
+        ClientAccessToken at = getClientAccessToken(code, postMessage);
 
         // Expect and validate id_token
         IdToken idToken = tokenClient.getIdToken(at, consumer.getKey());
@@ -126,8 +126,7 @@ public class BigQueryService {
                 .build().toString();
     }
 
-    private ClientAccessToken getClientAccessToken(Consumer consumer,
-            String code, boolean postMessage) {
+    private ClientAccessToken getClientAccessToken(String code, boolean postMessage) {
         AccessTokenGrant grant = new AuthorizationCodeGrant(code);
         String redirectUri = postMessage ? "postmessage" : getRedirectUri();
         return OAuthClientUtils.getAccessToken(accessTokenServiceClient,
@@ -135,8 +134,8 @@ public class BigQueryService {
                         OAuthConstants.REDIRECT_URI, redirectUri), false);
     }
 
-    public void setUserInfoClient(UserInfoClient tokenClient) {
-        this.tokenClient = tokenClient;
+    public void setUserInfoClient(UserInfoClient client) {
+        this.tokenClient = client;
     }
 
     public void setAuthorizationServiceUri(String authorizationServiceUri) {


Mime
View raw message