Skip to content

Commit 73e53d7

Browse files
committed
add missing @OverRide annotations
1 parent 7704e76 commit 73e53d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/main/java/org/hibernate/Transaction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public interface Transaction extends EntityTransaction {
7070
* is {@link TransactionStatus#ACTIVE} or
7171
* {@link TransactionStatus#MARKED_ROLLBACK}
7272
*/
73+
@Override
7374
default boolean isActive() {
7475
return switch (getStatus()) {
7576
case ACTIVE, MARKED_ROLLBACK -> true;
@@ -225,6 +226,7 @@ public void afterCompletion(int status) {
225226
*
226227
* @return the timeout, in seconds, or {@code null}
227228
*/
229+
@Override
228230
@Nullable Integer getTimeout();
229231

230232
/**

0 commit comments

Comments
 (0)