summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-09 22:29:32 +0200
committerSven Gothel <[email protected]>2014-07-09 22:29:32 +0200
commit629814e1b5dcbf28af7e5f7d8e872e8c5cc4805b (patch)
tree515d81110f4cf4dd3014f199f8ee66ad8fa98644
parent37f76d17cdf90a8dded8beba99651b19a8795c54 (diff)
Remove @deprecated methods
-rw-r--r--src/java/com/jogamp/common/util/LFRingbuffer.java3
-rw-r--r--src/java/com/jogamp/common/util/Ringbuffer.java12
-rw-r--r--src/java/com/jogamp/common/util/SyncedRingbuffer.java3
-rw-r--r--src/java/com/jogamp/common/util/TaskBase.java6
4 files changed, 0 insertions, 24 deletions
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
@@ -146,9 +146,6 @@ public class LFRingbuffer<T> implements Ringbuffer<T> {
}
@Override
- public final T[] getInternalArray() { return array; }
-
- @Override
public final int capacity() { return capacityPlusOne-1; }
@Override
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<T> {
/** 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.
- * <p>
- * The layout and size of the internal array is implementation dependent.
- * </p>
- * <p>
- * Users shall not modify or rely on the returned array.
- * </p>
- * @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
@@ -122,9 +122,6 @@ public class SyncedRingbuffer<T> implements Ringbuffer<T> {
}
@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()}