From c3b35c2b713500fc9646c3a3734c8f2422b6ae8c Mon Sep 17 00:00:00 2001 From: andreas schlegel Date: Sat, 22 Sep 2018 23:06:16 +0800 Subject: [PATCH] changing Vector to ArrayList --- src/controlP5/ControllerList.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controlP5/ControllerList.java b/src/controlP5/ControllerList.java index ddc9f78..232acd0 100755 --- a/src/controlP5/ControllerList.java +++ b/src/controlP5/ControllerList.java @@ -26,7 +26,7 @@ package controlP5; */ import java.util.List; -import java.util.Vector; +import java.util.ArrayList; /** * Stores objects of type ControllerInterface and CDrawable, mainly for internal use. @@ -38,8 +38,8 @@ public class ControllerList { protected List< CDrawable > drawables; public ControllerList( ) { - controllers = new Vector< ControllerInterface< ? >>( ); - drawables = new Vector< CDrawable >( ); + controllers = new ArrayList< ControllerInterface< ? >>( ); + drawables = new ArrayList< CDrawable >( ); } public void add( ControllerInterface< ? > theController ) {