Update CheckBox.java

This commit is contained in:
GoToLoop 2016-07-21 21:58:36 -03:00 committed by GitHub
parent 73faed8e7e
commit f0e6f3c3f4
1 changed files with 3 additions and 3 deletions

View File

@ -194,8 +194,8 @@ public class CheckBox extends ControlGroup< CheckBox > {
} }
/** /**
* Sets the value for all CheckBox items according to the values of the array passed on. 0 will * Sets the value for all CheckBox items according to the values of the array passed on.
* turn off an item, any other value will turn it on. * 0 will turn off an item, any other value will turn it on.
*/ */
@Override @SafeVarargs public final T setArrayValue( final float... theArray ) { @Override @SafeVarargs public final T setArrayValue( final float... theArray ) {
if ( theArray != null && !_myRadioToggles.isEmpty( ) ) synchronized ( _myRadioToggles ) { if ( theArray != null && !_myRadioToggles.isEmpty( ) ) synchronized ( _myRadioToggles ) {
@ -520,7 +520,7 @@ public class CheckBox extends ControlGroup< CheckBox > {
return this; return this;
} }
public CheckBox toUpperCase( boolean theValue ) { public CheckBox toUpperCase( final boolean theValue ) {
synchronized ( _myRadioToggles ) { synchronized ( _myRadioToggles ) {
for ( final Toggle tog : _myRadioToggles ) tog.getCaptionLabel( ).toUpperCase( theValue ); for ( final Toggle tog : _myRadioToggles ) tog.getCaptionLabel( ).toUpperCase( theValue );
} }