From 310d9e2d5e49fad974be09c1b90fa2df4de41886 Mon Sep 17 00:00:00 2001 From: GoToLoop Date: Sat, 16 Jul 2016 18:23:44 -0300 Subject: [PATCH] Update ControllerGroup.java `float[]` to `float...`. --- src/controlP5/ControllerGroup.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controlP5/ControllerGroup.java b/src/controlP5/ControllerGroup.java index 1ca126d..b5a3e90 100755 --- a/src/controlP5/ControllerGroup.java +++ b/src/controlP5/ControllerGroup.java @@ -209,8 +209,8 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > return absolutePosition.clone(); } - @ControlP5.Invisible @Override public T setAbsolutePosition( float[] thePos ) { - set( absolutePosition , x( thePos ) , y( thePos ) ); + @ControlP5.Invisible @Override public T setAbsolutePosition( final float... thePos ) { + set( absolutePosition , thePos ); return me; } @@ -225,7 +225,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > return updateAbsolutePosition( ); } - @Override public T setPosition( float[] thePosition ) { + @Override public T setPosition( final float... thePosition ) { return setPosition( x( thePosition ) , y( thePosition ) ); } @@ -741,7 +741,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > return me; } - @Override public T setArrayValue( float[] theArray ) { + @Override public T setArrayValue( final float... theArray ) { _myArrayValue = theArray; return me; }