Integrated: 8312019: Simplify and modernize java.util.BitSet.equals
Pavel Rappo
prappo at openjdk.org
Thu Jul 20 13:57:50 UTC 2023
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> Please review this PR to use modern APIs and language features to simplify equals for BitSet.
>
> I couldn't see how to refactor hashCode using Arrays utility methods in a way that preserves its specification. So, aside from refactoring its doc comment and annotating it with `@Overrides`, I left it intact.
This pull request has now been integrated.
Changeset: 9fa944e6
Author: Pavel Rappo <prappo at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9fa944e63f7bec76eab21f85cc5109ed7419a0ab
Stats: 21 lines in 1 file changed: 8 ins; 8 del; 5 mod
8312019: Simplify and modernize java.util.BitSet.equals
Reviewed-by: rriggs, martin
-------------
PR: https://git.openjdk.org/jdk/pull/14868
More information about the core-libs-dev
mailing list