Replace deprecated annotations in whole project

This commit is contained in:
Denis Zharkov
2015-06-09 15:36:42 +03:00
parent c9f79c2d05
commit 200dee2761
55 changed files with 81 additions and 81 deletions
@@ -31,7 +31,7 @@ fun File.mkdirsProperly() {
class KDocSampleTest {
[Test]
@Test
fun generateKDocForSample() {
val compiler = KDocCompiler()
@@ -28,7 +28,7 @@ class PsiUtilsTest {
private var environment: KotlinCoreEnvironment? = null
[Before]
@Before
fun before() {
System.setProperty("java.awt.headless", "true")
@@ -37,7 +37,7 @@ class PsiUtilsTest {
environment = KotlinCoreEnvironment.createForTests(rootDisposable, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
}
[After]
@After
fun after() {
Disposer.dispose(rootDisposable)
}
@@ -49,7 +49,7 @@ class PsiUtilsTest {
.trySetupPsiForFile(virtualFile, JetLanguage.INSTANCE, true, false) as JetFile
}
[Test]
@Test
fun splitPsi() {
val file = createFile("class Foo")
val items: List<String> = splitPsi(file).map { t -> t.first }