--- a/jdk/src/share/classes/sun/font/CoreMetrics.java Wed Jul 23 16:19:26 2014 +0400
+++ b/jdk/src/share/classes/sun/font/CoreMetrics.java Thu Jul 24 17:36:56 2014 +0400
@@ -66,11 +66,11 @@
return ((FontLineMetrics)lm).cm;
}
- public final int hashCode() {
+ public int hashCode() {
return Float.floatToIntBits(ascent + ssOffset);
}
- public final boolean equals(Object rhs) {
+ public boolean equals(Object rhs) {
try {
return equals((CoreMetrics)rhs);
}
@@ -79,7 +79,7 @@
}
}
- public final boolean equals(CoreMetrics rhs) {
+ public boolean equals(CoreMetrics rhs) {
if (rhs != null) {
if (this == rhs) {
return true;
@@ -105,7 +105,7 @@
// fullOffsets is an array of 5 baseline offsets,
// roman, center, hanging, bottom, and top in that order
// this does NOT add the ssOffset
- public final float effectiveBaselineOffset(float[] fullOffsets) {
+ public float effectiveBaselineOffset(float[] fullOffsets) {
switch (baselineIndex) {
case GraphicAttribute.TOP_ALIGNMENT:
return fullOffsets[4] + ascent;