Use diamond notation.
import org.tukaani.xz.X86Options;
class Coders {
- private static final Map<SevenZMethod, CoderBase> CODER_MAP = new HashMap<SevenZMethod, CoderBase>() {
+ private static final Map<SevenZMethod, CoderBase> CODER_MAP = new HashMap<>() {
private static final long serialVersionUID = 1664829131806520867L;
{
