Skip to content

Commit a9ed74f

Browse files
committed
mark an override @deprecated
1 parent d8ae62d commit a9ed74f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import org.hibernate.engine.spi.SharedSessionContractImplementor;
1818
import org.hibernate.generator.EventType;
1919
import org.hibernate.generator.EventTypeSets;
20-
import org.hibernate.generator.Generator;
2120
import org.hibernate.generator.GeneratorCreationContext;
2221
import org.hibernate.service.ServiceRegistry;
2322
import org.hibernate.generator.BeforeExecutionGenerator;
@@ -98,7 +97,8 @@ public interface IdentifierGenerator extends BeforeExecutionGenerator, Exportabl
9897
* @param serviceRegistry Access to service that may be needed.
9998
* @throws MappingException If configuration fails.
10099
*/
101-
@Override
100+
@SuppressWarnings("removal")
101+
@Override @Deprecated( since = "7.0", forRemoval = true )
102102
default void configure(Type type, Properties parameters, ServiceRegistry serviceRegistry) {}
103103

104104
/**

0 commit comments

Comments
 (0)