Use diamond operator everywhere

This commit is contained in:
mezz committed 2016-10-20 22:41:23 -07:00
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);
}