Skip to content

Most of the functions in AbstractStub should be annotated with @CheckReturnValue #3985

@Hzj-jie

Description

@Hzj-jie

These functions create new instances rather than changing the internal state, e.g.
stub.withCallCredentials( ... )
is wrong. One should always use
stub = stub.withCallCredentials( ... )

public abstract class AbstractStub<S extends AbstractStub<S>> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions