From 404b6e8d6e656b80433b4bdcf415514c7f4ea73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Tue, 4 Sep 2018 12:29:58 +0200 Subject: [PATCH] Deprecate one syntax --- .../net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt b/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt index a2bd324b06..4d6973b759 100644 --- a/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt +++ b/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt @@ -79,7 +79,7 @@ fun AbstractFunSpec.parserTest(name: String, parserTest(name, listOf(javaVersion), null, assertions) } - +@Deprecated("Only a prototype") fun junitParserTest(javaVersion: JavaVersion = JavaVersion.Latest, assertions: ParserTestCtx.() -> Unit) = ParserTestCtx(javaVersion).assertions()