diff options
author | Sven Gothel <[email protected]> | 2011-09-04 20:25:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-04 20:25:45 +0200 |
commit | 70b495519094de5fcca37da68fbbf8762eecbe28 (patch) | |
tree | 65b72deef90d0482c5398f6eeda60adbe151268c /src/newt/classes | |
parent | 7df4a53090c0dce45c5148166d7816064db997ba (diff) |
Unify Immutable/WriteCloneable Usage ; Remove Clonable for ImmutableOnly types
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/util/MonitorMode.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java index 69dc584d3..5a8bf5bf2 100644 --- a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java +++ b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java @@ -37,7 +37,7 @@ import javax.media.nativewindow.util.*; * <li><code>refresh rate</code></li> * </ul> */ -public class MonitorMode implements Cloneable { +public class MonitorMode { SurfaceSize surfaceSize; DimensionImmutable screenSizeMM; // in [mm] int refreshRate; @@ -51,14 +51,6 @@ public class MonitorMode implements Cloneable { this.refreshRate=refreshRate; } - public Object clone() { - try { - return super.clone(); - } catch (CloneNotSupportedException ex) { - throw new InternalError(); - } - } - public final SurfaceSize getSurfaceSize() { return surfaceSize; } |