Started by
AkipaSP
on
Topic category: Help with MCreator software
error: diamond operator is not supported in -source 1.6
private final Map> adaptableValues = new HashMap();
^
(use -source 7 or higher to enable diamond operator)
The diamond operator is this: <>
It has been added to Java 7, mainly for simplifying instantiation of some generic classes.
So for example you can do
HashMap<Integer> values = new HashMap<>();
Well, in older versions the diamond operator is not supported, so you need to use
HashMap<Integer> values = new HashMap<Integer>();
@#1 Thanks