Skip to content

AutoValue hashCode implementation changes subtly in 1.5 #3

@kevinmost

Description

@kevinmost

https://github.com/google/auto/releases/tag/auto-value-1.5

The generated hashCode() method uses h = (int) (h ^ longProperty) rather than h ^= longProperty to avoid warnings about loss of precision.

This shouldn't affect anything but it's good to stay in sync with the latest AutoValue hashCode implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions