Skip to content

Use @Deprecated tag in TopicAdminClient and SubscriptionAdminClient #249

@pradn

Description

@pradn

public final Topic createTopic(ProjectTopicName name) {

When pulling the Java library into Google's source tree, lint errors are being thrown in TopicAdminClient and SubscriptionAdminClient..

third_party/java_src/cloud/pubsub/client/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java:260: error: [DepAnn] Item documented with a @deprecated javadoc note is not annotated with @deprecated
public final Topic createTopic(ProjectTopicName name) {
^
(see http://go/bugpattern/DepAnn)
Did you mean '@deprecated'?

We need to add a @deprecated annotation to all the fields in that file with a "@deprecated" docs note.

Metadata

Metadata

Labels

api: pubsubIssues related to the googleapis/java-pubsub API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions