< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/AbstractModuleEntry.java

Print this page
rev 14897 : 8160459: jlink minor code clean up
Reviewd-by: sundar

*** 23,33 **** * questions. */ package jdk.tools.jlink.internal; - import java.io.InputStream; import java.util.Objects; import jdk.tools.jlink.plugin.ModuleEntry; /** * A LinkModuleEntry is the elementary unit of data inside an image. It is --- 23,32 ----
*** 75,87 **** return type; } @Override public int hashCode() { ! int hash = 7; ! hash = 89 * hash + Objects.hashCode(this.path); ! return hash; } @Override public boolean equals(Object other) { if (!(other instanceof AbstractModuleEntry)) { --- 74,84 ---- return type; } @Override public int hashCode() { ! return Objects.hashCode(this.path); } @Override public boolean equals(Object other) { if (!(other instanceof AbstractModuleEntry)) {
< prev index next >