Skip to content

Commit 0e5f623

Browse files
committed
add forRemoval=true in two places
1 parent f537fca commit 0e5f623

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

hibernate-core/src/main/java/org/hibernate/annotations/Source.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
package org.hibernate.annotations;
66

7-
import org.hibernate.Remove;
87
import org.hibernate.generator.internal.SourceGeneration;
98

109
import java.lang.annotation.Retention;
@@ -42,7 +41,7 @@
4241
*
4342
* @deprecated use {@link CurrentTimestamp} instead
4443
*/
45-
@Deprecated(since = "6.2") @Remove
44+
@Deprecated(since = "6.2", forRemoval = true)
4645
@Target({ METHOD, FIELD })
4746
@Retention(RUNTIME)
4847
@ValueGenerationType(generatedBy = SourceGeneration.class)

hibernate-core/src/main/java/org/hibernate/annotations/Target.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* annotations, for example,
2222
* {@link jakarta.persistence.OneToMany#targetEntity()}
2323
*/
24-
@Deprecated(since = "6.2")
24+
@Deprecated(since = "6.2", forRemoval = true)
2525
@java.lang.annotation.Target({FIELD, METHOD})
2626
@Retention(RUNTIME)
2727
public @interface Target {

0 commit comments

Comments
 (0)