Fix wrong @Deprecated since version

This commit is contained in:
Yanming Zhou 2023-01-29 15:38:34 +08:00 committed by Sanne Grinovero
parent ff8b673689
commit cd50a98c66
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ import org.hibernate.generator.GeneratorCreationContext;
*
* @deprecated Replaced by {@link AnnotationBasedGenerator}
*/
@Deprecated(since = "6", forRemoval = true)
@Deprecated(since = "6.2", forRemoval = true)
public interface AnnotationValueGeneration<A extends Annotation>
extends ValueGeneration, AnnotationBasedGenerator<A> {
/**

View File

@ -24,7 +24,7 @@ import org.hibernate.generator.EventType;
* redefined using the new broader {@linkplain org.hibernate.generator generation}
* approach.
*/
@Deprecated(since = "6", forRemoval = true)
@Deprecated(since = "6.2", forRemoval = true)
public enum GenerationTiming {
/**
* Value generation that never occurs.

View File

@ -28,7 +28,7 @@ import org.hibernate.generator.BeforeExecutionGenerator;
*
* @deprecated Replaced by {@link Generator}
*/
@Deprecated(since = "6", forRemoval = true)
@Deprecated(since = "6.2", forRemoval = true)
public interface ValueGeneration extends BeforeExecutionGenerator, OnExecutionGenerator {
/**
* Specifies that the property value is generated:

View File

@ -16,7 +16,7 @@ import org.hibernate.generator.Generator;
*
* @author Steve Ebersole
*/
@Deprecated(since = "6", forRemoval = true)
@Deprecated(since = "6.2", forRemoval = true)
public interface ValueGenerator<T> {
/**
* Generate the value.