MCPcopy Create free account
hub / github.com/grpc/grpc-java / equals

Method equals

api/src/main/java/io/grpc/Status.java:658–661  ·  view source on GitHub ↗

Equality on Statuses is not well defined. Instead, do comparison based on their Code with #getCode. The description and cause of the Status are unlikely to be stable, and additional fields may be added to Status in the future.

(Object obj)

Source from the content-addressed store, hash-verified

656 * additional fields may be added to Status in the future.
657 */
658 @Override
659 public boolean equals(Object obj) {
660 return super.equals(obj);
661 }
662
663 /**
664 * Hash codes on Statuses are not well defined.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected