fix typo will be removed latest -> move latest behind version

This commit is contained in:
Robert Stoll
2021-04-13 22:18:59 +02:00
parent 5eed7c4092
commit f7d2b1d23a
23 changed files with 79 additions and 79 deletions

View File

@@ -44,7 +44,7 @@ interface Explanatory {
@Deprecated(
"use withExplanation instead; will be removed latest with 1.0.0",
"use withExplanation instead; will be removed with 1.0.0 at the latest",
ReplaceWith("this.withExplanation(translatable, arg, *otherArgs)")
)
fun withDescription(translatable: Translatable, arg: Any, vararg otherArgs: Any): FinalStep =
@@ -52,13 +52,13 @@ interface Explanatory {
@Deprecated(
"use withExplanation instead; will be removed latest with 1.0.0",
"use withExplanation instead; will be removed with 1.0.0 at the latest",
ReplaceWith("this.withExplanation(translatable)")
)
fun withDescription(translatable: Translatable): FinalStep = withExplanation(translatable)
@Deprecated(
"use withExplanation instead; will be removed latest with 1.0.0",
"use withExplanation instead; will be removed with 1.0.0 at the latest",
ReplaceWith("this.withExplanation(explanation)")
)
fun withDescription(explanation: Any?): FinalStep = withExplanation(explanation)

View File

@@ -114,7 +114,7 @@ fun <T : ExplanatoryAssertionGroupType> AssertionsOption<T, ExplanatoryAssertion
*/
@Suppress("DEPRECATION" /* TODO exchange ExplanatoryAssertionGroupFinalStep with ExplanatoryGroup.FinalStep in 1.0.0 */)
@Deprecated(
"use withExplanatoryAssertion instead; will be removed latest with 1.0.0",
"use withExplanatoryAssertion instead; will be removed with 1.0.0 at the latest",
ReplaceWith("this.withExplanatoryAssertion(translatable, arg, *otherArgs)")
)
fun <T : ExplanatoryAssertionGroupType> AssertionsOption<T, ExplanatoryAssertionGroupFinalStep>.withExplanatoryAssertions(
@@ -156,7 +156,7 @@ inline fun <T : ExplanatoryAssertionGroupType> AssertionsOption<T, ExplanatoryAs
*/
@Suppress("DEPRECATION" /* TODO remove whole interface with 1.0.0 */)
@Deprecated(
"Use ExplanatoryGroup.GroupTypeOption instead; will be removed latest with 1.0.0",
"Use ExplanatoryGroup.GroupTypeOption instead; will be removed with 1.0.0 at the latest",
ReplaceWith("ExplanatoryGroup.GroupTypeOption")
)
interface ExplanatoryAssertionGroupTypeOption {
@@ -187,7 +187,7 @@ interface ExplanatoryAssertionGroupTypeOption {
* defined [groupType] and the [explanatoryAssertions].
*/
@Deprecated(
"Use ExplanatoryGroup.FinalStep instead; will be removed latest with 1.0.0",
"Use ExplanatoryGroup.FinalStep instead; will be removed with 1.0.0 at the latest",
ReplaceWith("ExplanatoryGroup.FinalStep")
)
interface ExplanatoryAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup> {

View File

@@ -21,7 +21,7 @@ data class RootExpectOptions<T>(
val representationInsteadOfSubject: ((T) -> Any)?,
val componentFactoryContainer: ComponentFactoryContainer?
) {
@Deprecated("Use expectationVerb; will be removed latest with 1.0.0 (maybe earlier)")
@Deprecated("Use expectationVerb; will be removed with 1.0.0 at the latest (maybe earlier)")
val assertionVerb = expectationVerb
/**

View File

@@ -32,7 +32,7 @@ actual interface CoreFactory : CoreFactoryCommon {
fun newPropertiesBasedTranslationSupplier(): TranslationSupplier
@Deprecated(
"Use the overload which expects an AtriumErrorAdjuster in addition; will be removed latest with 1.0.0",
"Use the overload which expects an AtriumErrorAdjuster in addition; will be removed with 1.0.0 at the latest",
ReplaceWith("this.newOnlyFailureReporter(assertionFormatterFacade, this.newNoOpAtriumErrorAdjuster())")
)
fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade): Reporter

View File

@@ -9,7 +9,7 @@ import ch.tutteli.atrium.reporting.translating.Locale
import ch.tutteli.kbox.blankToNull
@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Only here to ease migration, use Atrium's Locale directly; will be removed latest with 1.0.0")
@Deprecated("Only here to ease migration, use Atrium's Locale directly; will be removed with 1.0.0 at the latest")
fun java.util.Locale.toAtriumLocale(): Locale = ch.tutteli.atrium.reporting.translating.Locale(
language,
script.blankToNull(),