Use diamond operator...

This commit is contained in:
lukaseder 2014-12-15 17:19:58 +01:00
parent acdf2dd3ec
commit d13180e6ff

View File

@ -97,7 +97,7 @@ public class BarChartSample extends Application {
xAxis.setLabel("Country");
yAxis.setLabel(yAxisLabel);
BarChart<String, Number> bc = new BarChart<String, Number>(xAxis, yAxis);
BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
bc.setTitle(title);
bc.getData().addAll(