From ae0eabff70c9b63eac241b9f30bd389356cfb220 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Wed, 10 Jul 2013 09:08:10 -0700 Subject: vecmath: add @Override annotations to overridden methods Signed-off-by: Harvey Harrison --- src/javax/vecmath/Matrix4f.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/javax/vecmath/Matrix4f.java') diff --git a/src/javax/vecmath/Matrix4f.java b/src/javax/vecmath/Matrix4f.java index e1d0add..5d29c81 100644 --- a/src/javax/vecmath/Matrix4f.java +++ b/src/javax/vecmath/Matrix4f.java @@ -357,6 +357,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable { * Returns a string that contains the values of this Matrix4f. * @return the String representation */ + @Override public String toString() { return this.m00 + ", " + this.m01 + ", " + this.m02 + ", " + this.m03 + "\n" + @@ -2769,6 +2770,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable { * @param t1 the matrix with which the comparison is made. * @return true or false */ + @Override public boolean equals(Object t1) { try { @@ -2831,6 +2833,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable { * same hash value, although this is not likely. * @return the integer hash code value */ + @Override public int hashCode() { long bits = 1L; bits = 31L * bits + (long)VecMathUtil.floatToIntBits(m00); @@ -3243,6 +3246,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable { * @see java.lang.Cloneable * @since vecmath 1.3 */ + @Override public Object clone() { Matrix4f m1 = null; try { -- cgit v1.2.3