summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/Matrix3d.java
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-07-10 09:08:10 -0700
committerHarvey Harrison <[email protected]>2013-07-10 09:08:10 -0700
commitae0eabff70c9b63eac241b9f30bd389356cfb220 (patch)
tree2eec48b493a6426ab807267b6738b18cfa422bc0 /src/javax/vecmath/Matrix3d.java
parente6c6d02057eaf3ce38fb0d99ec614d2e38788a6b (diff)
vecmath: add @Override annotations to overridden methods
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/Matrix3d.java')
-rw-r--r--src/javax/vecmath/Matrix3d.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Matrix3d.java b/src/javax/vecmath/Matrix3d.java
index e0a3708..ad77c09 100644
--- a/src/javax/vecmath/Matrix3d.java
+++ b/src/javax/vecmath/Matrix3d.java
@@ -205,6 +205,7 @@ public class Matrix3d implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Matrix3d.
* @return the String representation
*/
+ @Override
public String toString() {
return
this.m00 + ", " + this.m01 + ", " + this.m02 + "\n" +
@@ -1916,6 +1917,7 @@ public class Matrix3d 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 {
@@ -1981,6 +1983,7 @@ public class Matrix3d 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 + VecMathUtil.doubleToLongBits(m00);
@@ -3103,6 +3106,7 @@ static double max3( double[] values) {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
Matrix3d m1 = null;
try {