mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
parent
d1edda8ff5
commit
4cc6cb9d9d
2 changed files with 120 additions and 6 deletions
|
@ -2627,7 +2627,7 @@ public class ModuleDescriptor
|
|||
private static int modsHashCode(Iterable<? extends Enum<?>> enums) {
|
||||
int h = 0;
|
||||
for (Enum<?> e : enums) {
|
||||
h = h * 43 + Objects.hashCode(e.name());
|
||||
h += e.name().hashCode();
|
||||
}
|
||||
return h;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue