kill off 0.10 deprecations

This commit is contained in:
FalsePattern committed 2023-07-16 12:56:20 +02:00
1 parent 29e0f58008
commit cc4d7d180e
6 files changed
-687

No files matched your search

@@ -121,37 +121,6 @@ public @interface Config {
@StableAPI.Expose int value();
}
/**
* The range of possible values a float config can have.
* Notice: float configs are deprecated! Use double configs instead!
*/
@Deprecated
@DeprecationDetails(deprecatedSince = "0.10.0")
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@StableAPI(since = "0.6.0")
@interface RangeFloat {
@StableAPI.Expose float min() default -Float.MAX_VALUE;
@StableAPI.Expose float max() default Float.MAX_VALUE;
}
/**
* The default value for a float field. Not having a default is deprecated since 0.10, and will be strongly
* enforced in 0.11+!
* Notice: float configs are deprecated! Use double configs instead!
*/
@Deprecated
@DeprecationDetails(deprecatedSince = "0.10.0")
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@StableAPI(since = "0.6.0")
@interface DefaultFloat {
@StableAPI.Expose float value();
}
/**
* The range of possible values a double config can have.
*/