aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-06 06:57:49 +0200
committerSven Gothel <[email protected]>2011-09-06 06:57:49 +0200
commit68f5a97ef165a39769040e36114c572c7d0f1abd (patch)
tree32ef8751a0f0d6139aa3d2503e9d077fc18ccc0a /src/newt/classes/com
parentb8bca22927dfecf6ccee790fa14df78023367ad2 (diff)
NEWT/ScreenMode: Remove Cloneable on Immutable .. makes no sense
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/ScreenMode.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/newt/classes/com/jogamp/newt/ScreenMode.java b/src/newt/classes/com/jogamp/newt/ScreenMode.java
index 414e2fb9c..1f12217bb 100644
--- a/src/newt/classes/com/jogamp/newt/ScreenMode.java
+++ b/src/newt/classes/com/jogamp/newt/ScreenMode.java
@@ -101,7 +101,7 @@ import com.jogamp.newt.util.MonitorMode;
* </pre>
*
*/
-public class ScreenMode implements Cloneable {
+public class ScreenMode {
/** zero rotation, compared to normal settings */
public static final int ROTATE_0 = 0;
@@ -134,14 +134,6 @@ public class ScreenMode implements Cloneable {
this.rotation = rotation;
}
- public Object clone() {
- try {
- return super.clone();
- } catch (CloneNotSupportedException ex) {
- throw new InternalError();
- }
- }
-
/** Returns the unrotated <code>MonitorMode</code> */
public final MonitorMode getMonitorMode() {
return monitorMode;