Get rid of deprecated annotations and modifiers in project code

This commit is contained in:
Denis Zharkov
2015-09-14 16:26:59 +03:00
parent 02aafe4262
commit 9c4564a5a6
204 changed files with 485 additions and 439 deletions
@@ -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
@@ -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")