Skip to content

Commit

Permalink
Changed to explicit types, due to rollback to java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ikopysov committed Oct 30, 2020
1 parent bf42e35 commit 2ad42e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class CustomScalaStringPostfixTemplate extends ScalaStringBasedPostfixTem

static final Pattern IMPORT_PATTERN = Pattern.compile("\\[IMPORT ([^\\]]+)\\]");

private static final Map<String, Condition<PsiElement>> type2psiCondition = new HashMap<>() {{
private static final Map<String, Condition<PsiElement>> type2psiCondition = new HashMap<String, Condition<PsiElement>>() {{
put(SpecialType.ANY.name(), e -> true);
put(SpecialType.VOID.name(), VOID);
put(SpecialType.NON_VOID.name(), NON_VOID);
Expand Down

0 comments on commit 2ad42e1

Please sign in to comment.