From 68f5a97ef165a39769040e36114c572c7d0f1abd Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 6 Sep 2011 06:57:49 +0200 Subject: NEWT/ScreenMode: Remove Cloneable on Immutable .. makes no sense --- src/newt/classes/com/jogamp/newt/ScreenMode.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/newt') 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; * * */ -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 MonitorMode */ public final MonitorMode getMonitorMode() { return monitorMode; -- cgit v1.2.3