From 84b09409cf7e2679074f0cc5ea843edd6aacad0b Mon Sep 17 00:00:00 2001 From: GoToLoop Date: Fri, 15 Jul 2016 04:08:47 -0300 Subject: [PATCH] Update ControllerGroup.java Initialize _**String**_ fields w/ an empty `""`. --- src/controlP5/ControllerGroup.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controlP5/ControllerGroup.java b/src/controlP5/ControllerGroup.java index 3c170b1..e57795b 100755 --- a/src/controlP5/ControllerGroup.java +++ b/src/controlP5/ControllerGroup.java @@ -46,7 +46,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > protected final List< ControlListener > _myControlListener = new ArrayList< >( ); protected ControlP5 cp5; protected ControllerGroup< ? extends ControllerGroup< ? > > _myParent; - protected String _myName; + protected String _myName = ""; protected int _myId = -1; protected final CColor color = new CColor( ); protected boolean isMousePressed = false; @@ -67,7 +67,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > protected boolean isUpdate; protected final List< Canvas > _myCanvas = new ArrayList< >( ); protected float _myValue; - protected String _myStringValue; + protected String _myStringValue = ""; protected float[] _myArrayValue; protected boolean isCollapse = true; protected int _myPickingColor = 0x6600ffff;