Skip to content

Commit

Permalink
Deprecate the callback interface in favor of configuration functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgbutler committed Aug 25, 2022
1 parent fda6dd6 commit f67bc5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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.
Expand All @@ -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();
Expand Down

0 comments on commit f67bc5d

Please sign in to comment.