summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/GVector.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/GVector.java
parente6c6d02057eaf3ce38fb0d99ec614d2e38788a6b (diff)
vecmath: add @Override annotations to overridden methods
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/GVector.java')
-rw-r--r--src/javax/vecmath/GVector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/GVector.java b/src/javax/vecmath/GVector.java
index 092ade4..f28db87 100644
--- a/src/javax/vecmath/GVector.java
+++ b/src/javax/vecmath/GVector.java
@@ -634,6 +634,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this GVector.
* @return the String representation
*/
+ @Override
public String toString() {
StringBuffer buffer = new StringBuffer(length*8);
@@ -657,6 +658,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* likely.
* @return the integer hash code value
*/
+ @Override
public int hashCode() {
long bits = 1L;
@@ -695,6 +697,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* @param o1 The object with which the comparison is made.
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -906,6 +909,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
GVector v1 = null;
try {