summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/geom
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-08-28 06:03:17 +0200
committerSven Gothel <[email protected]>2014-08-28 06:03:17 +0200
commitc28b5eb2bb3db29dcdc51b391a4d9b236eb11885 (patch)
treee73ad0f39a1dbdf9ce51593f59873b745521e3d6 /src/jogl/classes/com/jogamp/graph/geom
parente3226d16fc147dcad77e172538d09b62eee7e6d9 (diff)
Fix commit b5910f18f0b82a8a1f6f6252dc19971d5e487f39 for toString(): Call super.hashCode(), due to InternalError("hashCode not designed")
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/geom')
-rw-r--r--src/jogl/classes/com/jogamp/graph/geom/Outline.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/geom/Outline.java b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
index 4caf06e5d..075d957ea 100644
--- a/src/jogl/classes/com/jogamp/graph/geom/Outline.java
+++ b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
@@ -278,4 +278,9 @@ public class Outline implements Comparable<Outline> {
public final int hashCode() {
throw new InternalError("hashCode not designed");
}
+ @Override
+ public String toString() {
+ // Avoid calling this.hashCode() !
+ return getClass().getName() + "@" + Integer.toHexString(super.hashCode());
+ }
}