From 629814e1b5dcbf28af7e5f7d8e872e8c5cc4805b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 9 Jul 2014 22:29:32 +0200 Subject: Remove @deprecated methods --- src/java/com/jogamp/common/util/LFRingbuffer.java | 3 --- src/java/com/jogamp/common/util/Ringbuffer.java | 12 ------------ src/java/com/jogamp/common/util/SyncedRingbuffer.java | 3 --- src/java/com/jogamp/common/util/TaskBase.java | 6 ------ 4 files changed, 24 deletions(-) (limited to 'src/java/com') diff --git a/src/java/com/jogamp/common/util/LFRingbuffer.java b/src/java/com/jogamp/common/util/LFRingbuffer.java index 685c529..5bef4b0 100644 --- a/src/java/com/jogamp/common/util/LFRingbuffer.java +++ b/src/java/com/jogamp/common/util/LFRingbuffer.java @@ -145,9 +145,6 @@ public class LFRingbuffer implements Ringbuffer { resetImpl(false, null /* empty, nothing to copy */ ); } - @Override - public final T[] getInternalArray() { return array; } - @Override public final int capacity() { return capacityPlusOne-1; } diff --git a/src/java/com/jogamp/common/util/Ringbuffer.java b/src/java/com/jogamp/common/util/Ringbuffer.java index 6c2507f..b05e803 100644 --- a/src/java/com/jogamp/common/util/Ringbuffer.java +++ b/src/java/com/jogamp/common/util/Ringbuffer.java @@ -51,18 +51,6 @@ public interface Ringbuffer { /** Debug functionality - Dumps the contents of the internal array. */ public void dump(PrintStream stream, String prefix); - /** - * Returns the internal array as-is, i.e. w/o a copy. - *

- * The layout and size of the internal array is implementation dependent. - *

- *

- * Users shall not modify or rely on the returned array. - *

- * @deprecated This method should not be required - */ - public T[] getInternalArray(); - /** Returns the net capacity of this ring buffer. */ public int capacity(); diff --git a/src/java/com/jogamp/common/util/SyncedRingbuffer.java b/src/java/com/jogamp/common/util/SyncedRingbuffer.java index 7f4a878..9f34dac 100644 --- a/src/java/com/jogamp/common/util/SyncedRingbuffer.java +++ b/src/java/com/jogamp/common/util/SyncedRingbuffer.java @@ -121,9 +121,6 @@ public class SyncedRingbuffer implements Ringbuffer { resetImpl(false, null /* empty, nothing to copy */ ); } - @Override - public final T[] getInternalArray() { return array; } - @Override public final int capacity() { return capacity; } diff --git a/src/java/com/jogamp/common/util/TaskBase.java b/src/java/com/jogamp/common/util/TaskBase.java index b688ba6..59b86c3 100644 --- a/src/java/com/jogamp/common/util/TaskBase.java +++ b/src/java/com/jogamp/common/util/TaskBase.java @@ -122,12 +122,6 @@ public abstract class TaskBase implements Runnable { } } } - /** - * @deprecated Use {@link #flush(Throwable)}. - */ - public final void flush() { - this.flush(null); - } /** * @return !{@link #isExecuted()} && !{@link #isFlushed()} -- cgit v1.2.3