Skip to content

Commit

Permalink
Merge pull request #3306 from ebean-orm/feature/querybean-deprecated
Browse files Browse the repository at this point in the history
Add forRemoval=true for existing Deprecated methods in query beans
  • Loading branch information
rbygrave authored Jan 18, 2024
2 parents b78dd6f + 8a73798 commit bd4521b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public abstract class PBaseString<R, T> extends PBaseComparable<R, T> {
* @param value the equal to bind value
* @return the root query bean instance
*/
@Deprecated
@Deprecated(forRemoval = true)
public final R equalToType(T value) {
expr().eq(_name, value);
return _root;
Expand All @@ -46,7 +46,7 @@ public final R equalToType(T value) {
* @param value the equal to bind value
* @return the root query bean instance
*/
@Deprecated
@Deprecated(forRemoval = true)
public final R notEqualToType(T value) {
expr().ne(_name, value);
return _root;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ public R orderBy() {
/**
* @deprecated migrate to {@link #orderBy()}.
*/
@Deprecated(since = "13.19")
@Deprecated(since = "13.19", forRemoval = true)
public R order() {
return root;
}
Expand All @@ -1295,7 +1295,7 @@ public R orderBy(String orderByClause) {
/**
* @deprecated migrate to {@link #orderBy(String)}
*/
@Deprecated(since = "13.19")
@Deprecated(since = "13.19", forRemoval = true)
public R order(String orderByClause) {
return orderBy(orderByClause);
}
Expand Down

0 comments on commit bd4521b

Please sign in to comment.