Skip to content

Commit e58e548

Browse files
authored
refactor: fix lint check (#863)
Fixing the lint problem in this repository by running `mvn com.coveo:fmt-maven-plugin:format`.
1 parent 2cecdac commit e58e548

File tree

11 files changed

+42
-14
lines changed

11 files changed

+42
-14
lines changed

google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/servlet/auth/AbstractCallbackServlet.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,19 @@ protected final HttpTransport getHttpTransport() {
9999
*/
100100
protected abstract PersistenceManagerFactory getPersistenceManagerFactory();
101101

102-
/** @return Specific ThreeLeggedFlow type that this callback should retreieve and complete. */
102+
/**
103+
* @return Specific ThreeLeggedFlow type that this callback should retreieve and complete.
104+
*/
103105
protected abstract Class<? extends ThreeLeggedFlow> getConcreteFlowType();
104106

105-
/** @return Url to redirect the user to upon a successful credential exchange. */
107+
/**
108+
* @return Url to redirect the user to upon a successful credential exchange.
109+
*/
106110
protected abstract String getSuccessRedirectUrl();
107111

108-
/** @return Url to redirect the user to upon failure. */
112+
/**
113+
* @return Url to redirect the user to upon failure.
114+
*/
109115
protected abstract String getDeniedRedirectUrl();
110116

111117
/**

google-oauth-client/src/main/java/com/google/api/client/auth/oauth/AbstractOAuthGetToken.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public abstract class AbstractOAuthGetToken extends GenericUrl {
5050
/** {@code true} for POST request or the default {@code false} for GET request. */
5151
protected boolean usePost;
5252

53-
/** @param authorizationServerUrl encoded authorization server URL */
53+
/**
54+
* @param authorizationServerUrl encoded authorization server URL
55+
*/
5456
protected AbstractOAuthGetToken(String authorizationServerUrl) {
5557
super(authorizationServerUrl);
5658
}

google-oauth-client/src/main/java/com/google/api/client/auth/oauth/OAuthAuthorizeTemporaryTokenUrl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ public class OAuthAuthorizeTemporaryTokenUrl extends GenericUrl {
4343
@Key("oauth_token")
4444
public String temporaryToken;
4545

46-
/** @param encodedUserAuthorizationUrl encoded user authorization URL */
46+
/**
47+
* @param encodedUserAuthorizationUrl encoded user authorization URL
48+
*/
4749
public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl) {
4850
super(encodedUserAuthorizationUrl);
4951
}

google-oauth-client/src/main/java/com/google/api/client/auth/oauth/OAuthGetAccessToken.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ public class OAuthGetAccessToken extends AbstractOAuthGetToken {
4343
*/
4444
public String verifier;
4545

46-
/** @param authorizationServerUrl encoded authorization server URL */
46+
/**
47+
* @param authorizationServerUrl encoded authorization server URL
48+
*/
4749
public OAuthGetAccessToken(String authorizationServerUrl) {
4850
super(authorizationServerUrl);
4951
}

google-oauth-client/src/main/java/com/google/api/client/auth/oauth/OAuthGetTemporaryToken.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ public class OAuthGetTemporaryToken extends AbstractOAuthGetToken {
3838
*/
3939
public String callback;
4040

41-
/** @param authorizationServerUrl encoded authorization server URL */
41+
/**
42+
* @param authorizationServerUrl encoded authorization server URL
43+
*/
4244
public OAuthGetTemporaryToken(String authorizationServerUrl) {
4345
super(authorizationServerUrl);
4446
}

google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeResponseUrl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public class AuthorizationCodeResponseUrl extends GenericUrl {
8383
@Key("error_uri")
8484
private String errorUri;
8585

86-
/** @param encodedResponseUrl encoded authorization code response URL */
86+
/**
87+
* @param encodedResponseUrl encoded authorization code response URL
88+
*/
8789
public AuthorizationCodeResponseUrl(String encodedResponseUrl) {
8890
super(encodedResponseUrl);
8991
// either error or code but not both

google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/StoredCredential.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public final class StoredCredential implements Serializable {
5555

5656
public StoredCredential() {}
5757

58-
/** @param credential existing credential to copy from */
58+
/**
59+
* @param credential existing credential to copy from
60+
*/
5961
public StoredCredential(Credential credential) {
6062
setAccessToken(credential.getAccessToken());
6163
setRefreshToken(credential.getRefreshToken());

google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdTokenVerifier.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public IdTokenVerifier() {
7474
this(new Builder());
7575
}
7676

77-
/** @param builder builder */
77+
/**
78+
* @param builder builder
79+
*/
7880
protected IdTokenVerifier(Builder builder) {
7981
clock = builder.clock;
8082
acceptableTimeSkewSeconds = builder.acceptableTimeSkewSeconds;

samples/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline/DailyMotionUrl.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,16 @@ public DailyMotionUrl(String encodedUrl) {
3030
super(encodedUrl);
3131
}
3232

33-
/** @return the fields */
33+
/**
34+
* @return the fields
35+
*/
3436
public String getFields() {
3537
return fields;
3638
}
3739

38-
/** @param fields the fields to set */
40+
/**
41+
* @param fields the fields to set
42+
*/
3943
public void setFields(String fields) {
4044
this.fields = fields;
4145
}

samples/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline/Video.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
import com.google.api.client.util.Key;
1818
import java.util.List;
1919

20-
/** @author Yaniv Inbar */
20+
/**
21+
* @author Yaniv Inbar
22+
*/
2123
public class Video {
2224

2325
@Key public String id;

samples/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline/VideoFeed.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
import com.google.api.client.util.Key;
1818
import java.util.List;
1919

20-
/** @author Yaniv Inbar */
20+
/**
21+
* @author Yaniv Inbar
22+
*/
2123
public class VideoFeed {
2224

2325
@Key public List<Video> list;

0 commit comments

Comments
 (0)