Skip to content

Commit 62e1ee5

Browse files
committed
Update deprecation warnings
1 parent 828a117 commit 62e1ee5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/src/main/kotlin/io/github/serpro69/kfaker/Faker.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Faker @JvmOverloads constructor(internal val fakerConfig: FakerConfig = Fa
3434
val beer: Beer
3535
val bigBangTheory: BigBangTheory
3636
val blood: Blood
37-
@Deprecated(message = "Fix #50 - typo. Will be removed in 1.7.0", level = DeprecationLevel.WARNING, replaceWith = ReplaceWith("bojackHorseman"))
37+
@Deprecated(message = "Fix #50 - typo. Will be removed in 1.8.0", level = DeprecationLevel.WARNING, replaceWith = ReplaceWith("bojackHorseman"))
3838
val bojackHoreseman: BojackHorseman
3939
val bojackHorseman: BojackHorseman
4040
val book: Book

core/src/main/kotlin/io/github/serpro69/kfaker/provider/unique/GlobalUniqueDataDataProvider.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class GlobalUniqueDataDataProvider internal constructor() : UniqueDataProvider()
5353

5454
@Deprecated(
5555
level = DeprecationLevel.WARNING,
56-
message = "This functionality is deprecated and will be removed in release 1.7.0",
56+
message = "This functionality is deprecated and will be removed in release 1.8.0",
5757
replaceWith = ReplaceWith("faker.unique.configuration { this.exclude<T>(funcName, values) }")
5858
)
5959
inline fun <reified T : FakeDataProvider> exclude(funcName: String, values: List<String>) {
@@ -62,7 +62,7 @@ class GlobalUniqueDataDataProvider internal constructor() : UniqueDataProvider()
6262

6363
@Deprecated(
6464
level = DeprecationLevel.WARNING,
65-
message = "This functionality is deprecated and will be removed in release 1.7.0",
65+
message = "This functionality is deprecated and will be removed in release 1.8.0",
6666
replaceWith = ReplaceWith("faker.unique.configuration { this.exclude<T>(funcName, values) }")
6767
)
6868
inline fun <reified T : FakeDataProvider> exclude(funcName: String, vararg values: String) {
@@ -75,7 +75,7 @@ class GlobalUniqueDataDataProvider internal constructor() : UniqueDataProvider()
7575

7676
@Deprecated(
7777
level = DeprecationLevel.WARNING,
78-
message = "This functionality is deprecated and will be removed in release 1.7.0",
78+
message = "This functionality is deprecated and will be removed in release 1.8.0",
7979
replaceWith = ReplaceWith("faker.unique.configuration { this.enable(providerProperty) }")
8080
)
8181
fun <T : FakeDataProvider> enable(providerProperty: KProperty0<T>) {
@@ -84,7 +84,7 @@ class GlobalUniqueDataDataProvider internal constructor() : UniqueDataProvider()
8484

8585
@Deprecated(
8686
level = DeprecationLevel.WARNING,
87-
message = "This functionality is deprecated and will be removed in release 1.7.0",
87+
message = "This functionality is deprecated and will be removed in release 1.8.0",
8888
replaceWith = ReplaceWith("faker.unique.configuration { this.disable(providerProperty) }")
8989
)
9090
fun <T : FakeDataProvider> disable(providerProperty: KProperty0<T>) {

0 commit comments

Comments
 (0)