Skip to content

Commit 56e7a6d

Browse files
committed
moved deprecation messages to the right region
1 parent 925896b commit 56e7a6d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ internal const val INSERT_AFTER_COL_PATH =
143143
"This `after()` overload will be removed in favor of `after { }` with Column Selection DSL. $MESSAGE_1_0"
144144
internal const val INSERT_AFTER_COL_PATH_REPLACE = "this.after { columnPath }"
145145

146-
internal const val ADD_VARARG_COLUMNS = "Deprecated in favor of `addAll(vararg)` to improve completion. $MESSAGE_1_0"
147-
internal const val ADD_VARARG_COLUMNS_REPLACE = "this.addAll(*columns)"
148-
149-
internal const val ADD_VARARG_FRAMES = "Deprecated in favor of `addAll(vararg)` to improve completion. $MESSAGE_1_0"
150-
internal const val ADD_VARARG_FRAMES_REPLACE = "this.addAll(*dataFrames)"
151-
152146
// endregion
153147

154148
// region WARNING in 1.0, ERROR in 1.1
@@ -239,6 +233,12 @@ internal const val COL_TYPE_DEPRECATED_INSTANT =
239233
"kotlinx.datetime.Instant is deprecated in favor of kotlin.time.Instant. Migrate to kotlin.time.Instant and use Coltype.StdlibInstant at your own pace. $MESSAGE_1_1"
240234
internal const val COL_TYPE_DEPRECATED_INSTANT_REPLACE = "ColType.StdlibInstant"
241235

236+
internal const val ADD_VARARG_COLUMNS = "Deprecated in favor of `addAll(vararg)` to improve completion. $MESSAGE_1_1"
237+
internal const val ADD_VARARG_COLUMNS_REPLACE = "this.addAll(*columns)"
238+
239+
internal const val ADD_VARARG_FRAMES = "Deprecated in favor of `addAll(vararg)` to improve completion. $MESSAGE_1_1"
240+
internal const val ADD_VARARG_FRAMES_REPLACE = "this.addAll(*dataFrames)"
241+
242242
// endregion
243243

244244
// region keep across releases

0 commit comments

Comments
 (0)