Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Mar 23, 2023
1 parent b89f34d commit 203cf55
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ public final class GoogleAccountManager {
/** Account manager. */
private final AccountManager manager;

/**
* @param accountManager account manager
*/
/** @param accountManager account manager */
public GoogleAccountManager(AccountManager accountManager) {
this.manager = Preconditions.checkNotNull(accountManager);
}

/**
* @param context context from which to retrieve the account manager
*/
/** @param context context from which to retrieve the account manager */
public GoogleAccountManager(Context context) {
this(AccountManager.get(context));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public class GooglePlayServicesAvailabilityIOException extends UserRecoverableAu

private static final long serialVersionUID = 1L;

/**
* @since 1.21.0
*/
/** @since 1.21.0 */
public GooglePlayServicesAvailabilityIOException(
GooglePlayServicesAvailabilityException wrapped) {
super(wrapped);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ public class UserRecoverableAuthIOException extends GoogleAuthIOException {

private static final long serialVersionUID = 1L;

/**
* @since 1.21.0
*/
/** @since 1.21.0 */
public UserRecoverableAuthIOException(UserRecoverableAuthException wrapped) {
super(wrapped);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
@Beta
public abstract class AbstractGoogleProtoClient extends AbstractGoogleClient {

/**
* @param builder builder
*/
/** @param builder builder */
protected AbstractGoogleProtoClient(Builder builder) {
super(builder);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ public CommonGoogleProtoClientRequestInitializer() {
super();
}

/**
* @param key API key or {@code null} to leave it unchanged
*/
/** @param key API key or {@code null} to leave it unchanged */
public CommonGoogleProtoClientRequestInitializer(String key) {
super(key);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
@Beta
public class MockGoogleProtoClient extends AbstractGoogleProtoClient {

/**
* @param builder builder
*/
/** @param builder builder */
protected MockGoogleProtoClient(Builder builder) {
super(builder);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,65 +254,49 @@ public Builder setScopes(Collection<String> scopes) {
return (Builder) super.setScopes(scopes);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setMethod(AccessMethod method) {
return (Builder) super.setMethod(method);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setTransport(HttpTransport transport) {
return (Builder) super.setTransport(transport);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setJsonFactory(JsonFactory jsonFactory) {
return (Builder) super.setJsonFactory(jsonFactory);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setTokenServerUrl(GenericUrl tokenServerUrl) {
return (Builder) super.setTokenServerUrl(tokenServerUrl);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setClientAuthentication(HttpExecuteInterceptor clientAuthentication) {
return (Builder) super.setClientAuthentication(clientAuthentication);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setClientId(String clientId) {
return (Builder) super.setClientId(clientId);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setAuthorizationServerEncodedUrl(String authorizationServerEncodedUrl) {
return (Builder) super.setAuthorizationServerEncodedUrl(authorizationServerEncodedUrl);
}

/**
* @since 1.11
*/
/** @since 1.11 */
@Override
public Builder setClock(Clock clock) {
return (Builder) super.setClock(clock);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,7 @@ public Builder setJsonFactory(JsonFactory jsonFactory) {
return (Builder) super.setJsonFactory(jsonFactory);
}

/**
* @since 1.9
*/
/** @since 1.9 */
@Override
public Builder setClock(Clock clock) {
return (Builder) super.setClock(clock);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ public Builder setIssuer(String issuer) {
return (Builder) super.setIssuer(issuer);
}

/**
* @since 1.21.0
*/
/** @since 1.21.0 */
@Override
public Builder setIssuers(Collection<String> issuers) {
return (Builder) super.setIssuers(issuers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ public GooglePublicKeysManager(HttpTransport transport, JsonFactory jsonFactory)
this(new Builder(transport, jsonFactory));
}

/**
* @param builder builder
*/
/** @param builder builder */
protected GooglePublicKeysManager(Builder builder) {
transport = builder.transport;
jsonFactory = builder.jsonFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ public ComputeCredential(HttpTransport transport, JsonFactory jsonFactory) {
this(new Builder(transport, jsonFactory));
}

/**
* @param builder builder
*/
/** @param builder builder */
protected ComputeCredential(Builder builder) {
super(builder);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,7 @@ public MediaHttpDownloader setContentRange(long firstBytePos, long lastBytePos)
return this;
}

/**
* @deprecated Use {@link #setContentRange(long, long)} instead.
*/
/** @deprecated Use {@link #setContentRange(long, long)} instead. */
@Deprecated
public MediaHttpDownloader setContentRange(long firstBytePos, int lastBytePos) {
return setContentRange(firstBytePos, (long) lastBytePos);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ private HttpResponse resumableUpload(GenericUrl initiationRequestUrl) throws IOE
}
}

/**
* @return {@code true} if the media length is known, otherwise {@code false}
*/
/** @return {@code true} if the media length is known, otherwise {@code false} */
private boolean isMediaLengthKnown() throws IOException {
return getMediaContentLength() >= 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ public TypedNotification(
super(messageNumber, resourceState, resourceId, resourceUri, channelId);
}

/**
* @param sourceNotification source notification metadata to copy
*/
/** @param sourceNotification source notification metadata to copy */
public TypedNotification(UnparsedNotification sourceNotification) {
super(sourceNotification);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ public class CommonGoogleClientRequestInitializer implements GoogleClientRequest
/** Project for quota and billing purposes of {@code null} to leave it unchanged. */
private final String userProject;

/**
* @deprecated Please use the builder interface
*/
/** @deprecated Please use the builder interface */
@Deprecated
public CommonGoogleClientRequestInitializer() {
this(newBuilder());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@
*/
public class CommonGoogleJsonClientRequestInitializer extends CommonGoogleClientRequestInitializer {

/**
* @deprecated Please use the builder interface
*/
/** @deprecated Please use the builder interface */
@Deprecated
public CommonGoogleJsonClientRequestInitializer() {
super();
Expand Down

0 comments on commit 203cf55

Please sign in to comment.