Skip to content

Commit 2db3149

Browse files
committed
deprecate ManagedList for removal (too many game object behavior storage issues)
1 parent c10aaaf commit 2db3149

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/tech/fastj/systems/collections/ManagedList.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package tech.fastj.systems.collections;
22

3+
import tech.fastj.graphics.game.GameObject;
34
import tech.fastj.systems.execution.FastJScheduledThreadPool;
45

56
import java.util.ArrayList;
@@ -41,10 +42,15 @@
4142
* </ul>
4243
*
4344
* @param <E> The type of the list's contained elements.
45+
* @author Andrew Dey
4446
* @see List
4547
* @see ArrayList
4648
* @see ScheduledExecutorService
49+
* @since 1.6.0
50+
* @deprecated ManagedList will no longer be supported for future usage, as its original use for
51+
* {@link GameObject game object behavior storage} has caused far too many issues with hanging tasks.
4752
*/
53+
@Deprecated(forRemoval = true)
4854
public class ManagedList<E> implements List<E> {
4955

5056
private final ArrayList<E> list;

0 commit comments

Comments
 (0)