mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +00:00
Use diamond operator everywhere
This commit is contained in:
1 parent
9812ddc4ce
commit
55c58cf5d9
140 files changed
+305
-305
No files matched your search
@@ -40,7 +40,7 @@ public class ControlEnumButton<T> extends ControlButton implements IControlValue
|
||||
|
||||
public ControlEnumButton(final IWidget parent, final float x, final float y, final float width, final float height, final T[] values) {
|
||||
super(parent, x, y, width, height, "");
|
||||
this.enumConstants = new ArrayList<T>();
|
||||
this.enumConstants = new ArrayList<>();
|
||||
for (final T value : values) {
|
||||
this.enumConstants.add(value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user