Polishing deprecated methods
Added since and forRemoval to Deprecated methods.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ import org.springframework.util.StringUtils;
|
||||
* @see CronTrigger
|
||||
* @deprecated as of 5.3, in favor of {@link CronExpression}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "5.3", forRemoval = true)
|
||||
public class CronSequenceGenerator {
|
||||
|
||||
private final String expression;
|
||||
@@ -84,7 +84,7 @@ public class CronSequenceGenerator {
|
||||
* @see java.util.TimeZone#getDefault()
|
||||
* @deprecated as of 5.3, in favor of {@link CronExpression#parse(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "5.3", forRemoval = true)
|
||||
public CronSequenceGenerator(String expression) {
|
||||
this(expression, TimeZone.getDefault());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user