update highest language level (IDEA-199809)

This commit is contained in:
Anna.Kozlova
2018-10-02 11:00:52 +02:00
parent ab8dc15d0d
commit 4303e696f9
2 changed files with 9 additions and 1 deletions
@@ -32,7 +32,7 @@ public enum LanguageLevel {
JDK_11(JavaCoreBundle.message("jdk.11.language.level.description"), 11),
JDK_X(JavaCoreBundle.message("jdk.X.language.level.description"), 12);
public static final LanguageLevel HIGHEST = JDK_10;
public static final LanguageLevel HIGHEST = JDK_11;
public static final Key<LanguageLevel> KEY = Key.create("LANGUAGE_LEVEL");
private final String myPresentableText;
@@ -16,7 +16,9 @@
package com.siyeh.ig.j2me;
import com.intellij.codeInspection.InspectionProfileEntry;
import com.intellij.testFramework.LightProjectDescriptor;
import com.siyeh.ig.LightInspectionTestCase;
import org.jetbrains.annotations.NotNull;
/**
* @author Bas Leijdekkers
@@ -30,4 +32,10 @@ public class PrivateMemberAccessBetweenOuterAndInnerClassInspectionTest extends
protected InspectionProfileEntry getInspection() {
return new PrivateMemberAccessBetweenOuterAndInnerClassInspection();
}
@NotNull
@Override
protected LightProjectDescriptor getProjectDescriptor() {
return JAVA_10;
}
}