for (int i = 0; i < propertyId.length; i++) {
if (sortable.contains(propertyId[i])) {
ids.add(propertyId[i]);
- orders.add(new Boolean(i < ascending.length ? ascending[i]
+ orders.add(Boolean.valueOf(i < ascending.length ? ascending[i]
: true));
}
}
*
*/
public Button() {
- setValue(new Boolean(false));
+ setValue(Boolean.FALSE);
setSwitchMode(false);
}
*/
public Button(String caption, boolean initialState) {
setCaption(caption);
- setValue(new Boolean(initialState));
+ setValue(Boolean.valueOf(initialState));
setSwitchMode(true);
}
// If the button is true for some reason, release it
if (oldValue.booleanValue()) {
- setValue(new Boolean(false));
+ setValue(Boolean.FALSE);
}
}
}
if (!switchMode) {
setImmediate(true);
if (booleanValue()) {
- setValue(new Boolean(false));
+ setValue(Boolean.FALSE);
}
}
}