mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 08:59:09 +00:00
Deprecate TransactionCallbackWithoutResult
Closes gh-35606
This commit is contained in:
+4
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.springframework.transaction.support;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import org.springframework.transaction.TransactionStatus;
|
||||
@@ -28,7 +30,9 @@ import org.springframework.transaction.TransactionStatus;
|
||||
* @author Juergen Hoeller
|
||||
* @since 28.03.2003
|
||||
* @see TransactionTemplate
|
||||
* @deprecated as of 7.0, superseded by {@link TransactionOperations#executeWithoutResult(Consumer)}
|
||||
*/
|
||||
@Deprecated(since = "7.0")
|
||||
public abstract class TransactionCallbackWithoutResult implements TransactionCallback<@Nullable Object> {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user