Skip to content

Commit

Permalink
refactor: fix lint check (#863)
Browse files Browse the repository at this point in the history
Fixing the lint problem in this repository by running `mvn com.coveo:fmt-maven-plugin:format`.
  • Loading branch information
suztomo committed Mar 31, 2022
1 parent 2cecdac commit e58e548
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,19 @@ protected final HttpTransport getHttpTransport() {
*/
protected abstract PersistenceManagerFactory getPersistenceManagerFactory();

/** @return Specific ThreeLeggedFlow type that this callback should retreieve and complete. */
/**
* @return Specific ThreeLeggedFlow type that this callback should retreieve and complete.
*/
protected abstract Class<? extends ThreeLeggedFlow> getConcreteFlowType();

/** @return Url to redirect the user to upon a successful credential exchange. */
/**
* @return Url to redirect the user to upon a successful credential exchange.
*/
protected abstract String getSuccessRedirectUrl();

/** @return Url to redirect the user to upon failure. */
/**
* @return Url to redirect the user to upon failure.
*/
protected abstract String getDeniedRedirectUrl();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public abstract class AbstractOAuthGetToken extends GenericUrl {
/** {@code true} for POST request or the default {@code false} for GET request. */
protected boolean usePost;

/** @param authorizationServerUrl encoded authorization server URL */
/**
* @param authorizationServerUrl encoded authorization server URL
*/
protected AbstractOAuthGetToken(String authorizationServerUrl) {
super(authorizationServerUrl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public class OAuthAuthorizeTemporaryTokenUrl extends GenericUrl {
@Key("oauth_token")
public String temporaryToken;

/** @param encodedUserAuthorizationUrl encoded user authorization URL */
/**
* @param encodedUserAuthorizationUrl encoded user authorization URL
*/
public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl) {
super(encodedUserAuthorizationUrl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public class OAuthGetAccessToken extends AbstractOAuthGetToken {
*/
public String verifier;

/** @param authorizationServerUrl encoded authorization server URL */
/**
* @param authorizationServerUrl encoded authorization server URL
*/
public OAuthGetAccessToken(String authorizationServerUrl) {
super(authorizationServerUrl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public class OAuthGetTemporaryToken extends AbstractOAuthGetToken {
*/
public String callback;

/** @param authorizationServerUrl encoded authorization server URL */
/**
* @param authorizationServerUrl encoded authorization server URL
*/
public OAuthGetTemporaryToken(String authorizationServerUrl) {
super(authorizationServerUrl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public class AuthorizationCodeResponseUrl extends GenericUrl {
@Key("error_uri")
private String errorUri;

/** @param encodedResponseUrl encoded authorization code response URL */
/**
* @param encodedResponseUrl encoded authorization code response URL
*/
public AuthorizationCodeResponseUrl(String encodedResponseUrl) {
super(encodedResponseUrl);
// either error or code but not both
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ public final class StoredCredential implements Serializable {

public StoredCredential() {}

/** @param credential existing credential to copy from */
/**
* @param credential existing credential to copy from
*/
public StoredCredential(Credential credential) {
setAccessToken(credential.getAccessToken());
setRefreshToken(credential.getRefreshToken());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ public IdTokenVerifier() {
this(new Builder());
}

/** @param builder builder */
/**
* @param builder builder
*/
protected IdTokenVerifier(Builder builder) {
clock = builder.clock;
acceptableTimeSkewSeconds = builder.acceptableTimeSkewSeconds;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ public DailyMotionUrl(String encodedUrl) {
super(encodedUrl);
}

/** @return the fields */
/**
* @return the fields
*/
public String getFields() {
return fields;
}

/** @param fields the fields to set */
/**
* @param fields the fields to set
*/
public void setFields(String fields) {
this.fields = fields;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
import com.google.api.client.util.Key;
import java.util.List;

/** @author Yaniv Inbar */
/**
* @author Yaniv Inbar
*/
public class Video {

@Key public String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
import com.google.api.client.util.Key;
import java.util.List;

/** @author Yaniv Inbar */
/**
* @author Yaniv Inbar
*/
public class VideoFeed {

@Key public List<Video> list;
Expand Down

0 comments on commit e58e548

Please sign in to comment.