提交 e4a3d5bf 编写于 作者: J Juergen Hoeller

Deprecation wording with suggested alternative and without removal hint

See gh-25733
See gh-25736
上级 09080bcb
...@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils; ...@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
* @see #setStyle * @see #setStyle
* @see #setIso * @see #setIso
* @see DateTimeFormatterFactoryBean * @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 @Deprecated
public class DateTimeFormatterFactory { public class DateTimeFormatterFactory {
......
...@@ -33,7 +33,7 @@ import org.springframework.lang.Nullable; ...@@ -33,7 +33,7 @@ import org.springframework.lang.Nullable;
* @see #setIso * @see #setIso
* @see #setStyle * @see #setStyle
* @see DateTimeFormatterFactory * @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 @Deprecated
public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory
......
...@@ -29,7 +29,7 @@ import org.springframework.format.Parser; ...@@ -29,7 +29,7 @@ import org.springframework.format.Parser;
* *
* @author Keith Donald * @author Keith Donald
* @since 3.0 * @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 @Deprecated
public final class DateTimeParser implements Parser<DateTime> { public final class DateTimeParser implements Parser<DateTime> {
......
...@@ -45,7 +45,7 @@ import org.springframework.util.StringUtils; ...@@ -45,7 +45,7 @@ import org.springframework.util.StringUtils;
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 3.0 * @since 3.0
* @see DateTimeFormat * @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 @Deprecated
public class JodaDateTimeFormatAnnotationFormatterFactory extends EmbeddedValueResolutionSupport public class JodaDateTimeFormatAnnotationFormatterFactory extends EmbeddedValueResolutionSupport
......
...@@ -36,7 +36,7 @@ import org.springframework.lang.Nullable; ...@@ -36,7 +36,7 @@ import org.springframework.lang.Nullable;
* @author Keith Donald * @author Keith Donald
* @since 3.0 * @since 3.0
* @see JodaTimeContextHolder * @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 @Deprecated
public class JodaTimeContext { public class JodaTimeContext {
......
...@@ -31,7 +31,7 @@ import org.springframework.lang.Nullable; ...@@ -31,7 +31,7 @@ import org.springframework.lang.Nullable;
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 3.0 * @since 3.0
* @see org.springframework.context.i18n.LocaleContextHolder * @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 @Deprecated
public final class JodaTimeContextHolder { public final class JodaTimeContextHolder {
......
...@@ -55,7 +55,7 @@ import org.springframework.format.annotation.DateTimeFormat.ISO; ...@@ -55,7 +55,7 @@ import org.springframework.format.annotation.DateTimeFormat.ISO;
* @see FormatterRegistrar#registerFormatters * @see FormatterRegistrar#registerFormatters
* @see org.springframework.format.datetime.DateFormatterRegistrar * @see org.springframework.format.datetime.DateFormatterRegistrar
* @see DateTimeFormatterFactoryBean * @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 @Deprecated
public class JodaTimeFormatterRegistrar implements FormatterRegistrar { public class JodaTimeFormatterRegistrar implements FormatterRegistrar {
......
...@@ -30,7 +30,7 @@ import org.springframework.format.Parser; ...@@ -30,7 +30,7 @@ import org.springframework.format.Parser;
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 4.0 * @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 @Deprecated
public final class LocalDateParser implements Parser<LocalDate> { public final class LocalDateParser implements Parser<LocalDate> {
......
...@@ -30,7 +30,7 @@ import org.springframework.format.Parser; ...@@ -30,7 +30,7 @@ import org.springframework.format.Parser;
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 4.0 * @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 @Deprecated
public final class LocalDateTimeParser implements Parser<LocalDateTime> { public final class LocalDateTimeParser implements Parser<LocalDateTime> {
......
...@@ -30,7 +30,7 @@ import org.springframework.format.Parser; ...@@ -30,7 +30,7 @@ import org.springframework.format.Parser;
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 4.0 * @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 @Deprecated
public final class LocalTimeParser implements Parser<LocalTime> { public final class LocalTimeParser implements Parser<LocalTime> {
......
...@@ -27,7 +27,7 @@ import org.springframework.format.Printer; ...@@ -27,7 +27,7 @@ import org.springframework.format.Printer;
* *
* @author Keith Donald * @author Keith Donald
* @since 3.0 * @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 @Deprecated
public final class MillisecondInstantPrinter implements Printer<Long> { public final class MillisecondInstantPrinter implements Printer<Long> {
......
...@@ -28,7 +28,7 @@ import org.springframework.format.Printer; ...@@ -28,7 +28,7 @@ import org.springframework.format.Printer;
* *
* @author Keith Donald * @author Keith Donald
* @since 3.0 * @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 @Deprecated
public final class ReadableInstantPrinter implements Printer<ReadableInstant> { public final class ReadableInstantPrinter implements Printer<ReadableInstant> {
......
...@@ -28,7 +28,7 @@ import org.springframework.format.Printer; ...@@ -28,7 +28,7 @@ import org.springframework.format.Printer;
* *
* @author Keith Donald * @author Keith Donald
* @since 3.0 * @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 @Deprecated
public final class ReadablePartialPrinter implements Printer<ReadablePartial> { public final class ReadablePartialPrinter implements Printer<ReadablePartial> {
......
...@@ -65,7 +65,7 @@ import org.springframework.web.server.ServerWebExchange; ...@@ -65,7 +65,7 @@ import org.springframework.web.server.ServerWebExchange;
* @author Brian Clozel * @author Brian Clozel
* @since 5.0 * @since 5.0
* @see <a href="https://html.spec.whatwg.org/multipage/browsers.html#offline">HTML5 offline applications spec</a> * @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 @Deprecated
public class AppCacheManifestTransformer extends ResourceTransformerSupport { public class AppCacheManifestTransformer extends ResourceTransformerSupport {
......
...@@ -62,7 +62,7 @@ import org.springframework.util.StringUtils; ...@@ -62,7 +62,7 @@ import org.springframework.util.StringUtils;
* @author Brian Clozel * @author Brian Clozel
* @since 4.1 * @since 4.1
* @see <a href="https://html.spec.whatwg.org/multipage/browsers.html#offline">HTML5 offline applications spec</a> * @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 @Deprecated
public class AppCacheManifestTransformer extends ResourceTransformerSupport { public class AppCacheManifestTransformer extends ResourceTransformerSupport {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册