diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java b/src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java index 44b4fea9e..661e104b6 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java +++ b/src/jogl/classes/com/jogamp/opengl/util/packrect/Level.java @@ -52,12 +52,14 @@ public class Level { private int nextAddX; static class RectXComparator implements Comparator { + @Override public int compare(Object o1, Object o2) { Rect r1 = (Rect) o1; Rect r2 = (Rect) o2; return r1.x() - r2.x(); } + @Override public boolean equals(Object obj) { return this == obj; } |