diff options
author | Sven Gothel <[email protected]> | 2011-03-19 08:44:01 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-19 08:44:01 +0100 |
commit | a77ea6aabd1ddf527176a1c1c7a124e4e4b27fb8 (patch) | |
tree | 69dd38f5f3b1aafd29b888fe10097623a641979a /src | |
parent | 9090e69547804f589796a457a19751487038d5e3 (diff) |
Add @Override
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java | 3 | ||||
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java b/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java index 7224d65a8..a89aec080 100644 --- a/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java +++ b/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java @@ -139,9 +139,12 @@ public interface GLCapabilitiesImmutable extends WriteCloneable, CapabilitiesImm Object cloneMutable(); + @Override boolean equals(Object obj); + @Override int hashCode(); + @Override String toString(); } diff --git a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java index 3aae8c8fb..8fb704bad 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java +++ b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java @@ -104,14 +104,17 @@ public interface CapabilitiesImmutable extends WriteCloneable { Object cloneMutable(); /** Equality over the immutable attributes of both objects */ + @Override boolean equals(Object obj); /** hash code over the immutable attributes of both objects */ + @Override int hashCode(); /** Return a textual representation of this object. Use the given StringBuffer [optional]. */ StringBuffer toString(StringBuffer sink); /** Returns a textual representation of this object. */ + @Override String toString(); } |