aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/linkable/samples
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/resources/linkable/samples')
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt6
4 files changed, 20 insertions, 4 deletions
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
index b4f66be9..62a961c1 100644
--- a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package p2
class JsClass {
@@ -6,4 +10,4 @@ class JsClass {
* @sample samples.SamplesJs.exampleUsage
*/
fun printWithExclamation(msg: String) = println("$msg!")
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
index 55be0ad8..5dc791d7 100644
--- a/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package samples
import p2.JsClass
@@ -7,4 +11,4 @@ class SamplesJs {
fun exampleUsage() {
JsClass().printWithExclamation("Hi, Js")
}
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
index 22d44152..0014cdb7 100644
--- a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package p2
class JvmClass {
@@ -6,4 +10,4 @@ class JvmClass {
* @sample samples.SamplesJvm.exampleUsage
*/
fun printWithExclamation(msg: String) = println("$msg!")
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt b/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
index 69418fa9..f32538cc 100644
--- a/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package samples
import p2.JvmClass
@@ -7,4 +11,4 @@ class SamplesJvm {
fun exampleUsage() {
JvmClass().printWithExclamation("Hi, Jvm")
}
-} \ No newline at end of file
+}