--- old/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JModuleDirective.java 2017-06-01 18:21:32.445569555 +0100 +++ new/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JModuleDirective.java 2017-06-01 18:21:32.389569555 +0100 @@ -94,14 +94,17 @@ /** * Returns a hash code for this module directive based on directive type and name. - * The hash code for a module directive is computed as
-     * 97 * Integer.hashCode(type_ordinal_value + 1) + name.hashCode()
-     * 
using {@code int} arithmetic. + * The hash code for a module directive is computed as + *
+     *     {@code 97 * (type_ordinal_value + 1) + name.hashCode()}
+     * 
+ * using {@code int} arithmetic. + * * @return a hash code value for this object. */ @Override public int hashCode() { - return 97 * (Integer.valueOf(getType().ordinal() + 1)).hashCode() + name.hashCode(); + return 97 * (getType().ordinal() + 1) + name.hashCode(); } /**