diff --git a/src/main/java/org/mybatis/dynamic/sql/Callback.java b/src/main/java/org/mybatis/dynamic/sql/Callback.java index 2c5f07704..4e38c2864 100644 --- a/src/main/java/org/mybatis/dynamic/sql/Callback.java +++ b/src/main/java/org/mybatis/dynamic/sql/Callback.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2020 the original author or authors. + * Copyright 2016-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,10 @@ import java.util.function.Function; +/** + * @deprecated in favor of the new statement configuration functionality + */ +@Deprecated @FunctionalInterface public interface Callback { void call();