-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
api: spannerIssues related to the googleapis/java-spanner API.Issues related to the googleapis/java-spanner API.good first issueThis issue is a good place to started contributing to this repository.This issue is a good place to started contributing to this repository.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
The Options#hashCode() method does not guarantee to return a fixed value that is equal on all JVM's (at least; the documentation does not guarantee it). In reality it does, because the current implementation only uses hash codes that are guaranteed to be equal on all JVM's. The method should either be documented to have this behavior, or these tests should be replaced with tests that assert that the hashCode and equals methods comply with the general contract regarding these methods.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/java-spanner API.Issues related to the googleapis/java-spanner API.good first issueThis issue is a good place to started contributing to this repository.This issue is a good place to started contributing to this repository.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.