Skip to content

Commit ac992d0

Browse files
committed
OptionsLookAndFeel: use the diamond syntax
1 parent d229035 commit ac992d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/ui/swing/options/OptionsLookAndFeel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protected void initLookAndFeel() {
141141
final String lafClass = UIManager.getLookAndFeel().getClass().getName();
142142

143143
final LookAndFeelInfo[] lookAndFeels = UIManager.getInstalledLookAndFeels();
144-
final ArrayList<String> lookAndFeelChoices = new ArrayList<String>();
144+
final ArrayList<String> lookAndFeelChoices = new ArrayList<>();
145145
for (final LookAndFeelInfo lafInfo : lookAndFeels) {
146146
final String lafName = lafInfo.getName();
147147
lookAndFeelChoices.add(lafInfo.getName());

0 commit comments

Comments
 (0)