Get rid of deprecated annotations and modifiers in project code
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ public abstract class AbstractAndroidCompletionTest : KotlinAndroidTestCase() {
|
||||
codeCompletionOldValue = settings.AUTOCOMPLETE_ON_CODE_COMPLETION
|
||||
smartTypeCompletionOldValue = settings.AUTOCOMPLETE_ON_SMART_TYPE_COMPLETION
|
||||
|
||||
@suppress("NON_EXHAUSTIVE_WHEN")
|
||||
@Suppress("NON_EXHAUSTIVE_WHEN")
|
||||
when (completionType()) {
|
||||
CompletionType.SMART -> settings.AUTOCOMPLETE_ON_SMART_TYPE_COMPLETION = false
|
||||
CompletionType.BASIC -> settings.AUTOCOMPLETE_ON_CODE_COMPLETION = false
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ public class SamePluginVersionsTest {
|
||||
return matcher.group(1)
|
||||
}
|
||||
|
||||
Test
|
||||
@Test
|
||||
public fun sameIdeaVersionsTest() {
|
||||
val mainPluginXmlFile = File("idea/src/META-INF/plugin.xml")
|
||||
val androidExtensionsPluginXmlFile = File("plugins/android-idea-plugin/src/META-INF/plugin.xml")
|
||||
|
||||
Reference in New Issue
Block a user