Deprecation wording with suggested alternative and without removal hint

See gh-25733
See gh-25736
This commit is contained in:
Juergen Hoeller 2020-09-15 13:22:34 +02:00
parent 09080bcbf5
commit e4a3d5bf66
15 changed files with 15 additions and 15 deletions

View File

@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
* @see #setStyle
* @see #setIso
* @see DateTimeFormatterFactoryBean
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public class DateTimeFormatterFactory {

View File

@ -33,7 +33,7 @@ import org.springframework.lang.Nullable;
* @see #setIso
* @see #setStyle
* @see DateTimeFormatterFactory
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory

View File

@ -29,7 +29,7 @@ import org.springframework.format.Parser;
*
* @author Keith Donald
* @since 3.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class DateTimeParser implements Parser<DateTime> {

View File

@ -45,7 +45,7 @@ import org.springframework.util.StringUtils;
* @author Juergen Hoeller
* @since 3.0
* @see DateTimeFormat
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public class JodaDateTimeFormatAnnotationFormatterFactory extends EmbeddedValueResolutionSupport

View File

@ -36,7 +36,7 @@ import org.springframework.lang.Nullable;
* @author Keith Donald
* @since 3.0
* @see JodaTimeContextHolder
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public class JodaTimeContext {

View File

@ -31,7 +31,7 @@ import org.springframework.lang.Nullable;
* @author Juergen Hoeller
* @since 3.0
* @see org.springframework.context.i18n.LocaleContextHolder
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class JodaTimeContextHolder {

View File

@ -55,7 +55,7 @@ import org.springframework.format.annotation.DateTimeFormat.ISO;
* @see FormatterRegistrar#registerFormatters
* @see org.springframework.format.datetime.DateFormatterRegistrar
* @see DateTimeFormatterFactoryBean
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public class JodaTimeFormatterRegistrar implements FormatterRegistrar {

View File

@ -30,7 +30,7 @@ import org.springframework.format.Parser;
*
* @author Juergen Hoeller
* @since 4.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class LocalDateParser implements Parser<LocalDate> {

View File

@ -30,7 +30,7 @@ import org.springframework.format.Parser;
*
* @author Juergen Hoeller
* @since 4.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class LocalDateTimeParser implements Parser<LocalDateTime> {

View File

@ -30,7 +30,7 @@ import org.springframework.format.Parser;
*
* @author Juergen Hoeller
* @since 4.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class LocalTimeParser implements Parser<LocalTime> {

View File

@ -27,7 +27,7 @@ import org.springframework.format.Printer;
*
* @author Keith Donald
* @since 3.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class MillisecondInstantPrinter implements Printer<Long> {

View File

@ -28,7 +28,7 @@ import org.springframework.format.Printer;
*
* @author Keith Donald
* @since 3.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class ReadableInstantPrinter implements Printer<ReadableInstant> {

View File

@ -28,7 +28,7 @@ import org.springframework.format.Printer;
*
* @author Keith Donald
* @since 3.0
* @deprecated as of 5.3.0, scheduled for removal in 6.0.
* @deprecated as of 5.3, in favor of standard JSR-310 support
*/
@Deprecated
public final class ReadablePartialPrinter implements Printer<ReadablePartial> {

View File

@ -65,7 +65,7 @@ import org.springframework.web.server.ServerWebExchange;
* @author Brian Clozel
* @since 5.0
* @see <a href="https://html.spec.whatwg.org/multipage/browsers.html#offline">HTML5 offline applications spec</a>
* @deprecated as of 5.3 since browser support is going away, scheduled for removal in 6.0.
* @deprecated as of 5.3 since browser support is going away
*/
@Deprecated
public class AppCacheManifestTransformer extends ResourceTransformerSupport {

View File

@ -62,7 +62,7 @@ import org.springframework.util.StringUtils;
* @author Brian Clozel
* @since 4.1
* @see <a href="https://html.spec.whatwg.org/multipage/browsers.html#offline">HTML5 offline applications spec</a>
* @deprecated as of 5.3 since browser support is going away, scheduled for removal in 6.0.
* @deprecated as of 5.3 since browser support is going away
*/
@Deprecated
public class AppCacheManifestTransformer extends ResourceTransformerSupport {