--- old/src/java.desktop/share/classes/com/sun/media/sound/ModelIdentifier.java 2016-08-12 17:02:03.000000000 +0300 +++ new/src/java.desktop/share/classes/com/sun/media/sound/ModelIdentifier.java 2016-08-12 17:02:02.000000000 +0300 @@ -22,6 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ + package com.sun.media.sound; /** @@ -134,6 +135,7 @@ this.variable = variable; } + @Override public int hashCode() { int hashcode = instance; if(object != null) hashcode |= object.hashCode(); @@ -141,6 +143,7 @@ return hashcode; } + @Override public boolean equals(Object obj) { if (!(obj instanceof ModelIdentifier)) return false; @@ -159,6 +162,7 @@ return true; } + @Override public String toString() { if (variable == null) { return object + "[" + instance + "]";