Skip to content

Commit f67bc5d

Browse files
committed
Deprecate the callback interface in favor of configuration functions
1 parent fda6dd6 commit f67bc5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/mybatis/dynamic/sql/Callback.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2020 the original author or authors.
2+
* Copyright 2016-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,6 +17,10 @@
1717

1818
import java.util.function.Function;
1919

20+
/**
21+
* @deprecated in favor of the new statement configuration functionality
22+
*/
23+
@Deprecated
2024
@FunctionalInterface
2125
public interface Callback {
2226
void call();

0 commit comments

Comments
 (0)