mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 12:19:47 +00:00
Remove unnecessary boxing/unboxing
This commit is contained in:
1 parent
f96bf5ba5f
commit
57930991ec
5 files changed
+8
-8
No files matched your search
@@ -53,7 +53,7 @@ public class ControlCheckbox extends Control implements IControlValue<Boolean> {
|
||||
}
|
||||
|
||||
public void toggleValue() {
|
||||
this.setValue(Boolean.valueOf(!this.getValue()));
|
||||
this.setValue(!this.getValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user