Update ControllerGroup.java

Initialize _**String**_ fields w/ an empty `""`.
This commit is contained in:
GoToLoop 2016-07-15 04:08:47 -03:00 committed by GitHub
parent 0f3f38146b
commit 84b09409cf
1 changed files with 2 additions and 2 deletions

View File

@ -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;