Improve the javadoc for deprecated methods (to assist IDE quick-fix actions)

This commit is contained in:
Rob Bygrave
2023-11-03 20:04:25 +13:00
parent 4e3501972a
commit ae962c2e08
6 changed files with 13 additions and 13 deletions
@@ -54,7 +54,7 @@ public interface ExpressionList<T> {
Query<T> orderById(boolean orderById);
/**
* Deprecated migrate to {@link #orderBy(String)}
* @deprecated migrate to {@link #orderBy(String)}
*/
@Deprecated(since = "13.19", forRemoval = true)
default ExpressionList<T> order(String orderByClause) {
@@ -72,7 +72,7 @@ public interface ExpressionList<T> {
ExpressionList<T> orderBy(String orderBy);
/**
* Deprecated migrate to orderBy().
* @deprecated migrate to {@link #orderBy()}.
*/
@Deprecated(forRemoval = true)
default OrderBy<T> order() {
@@ -508,7 +508,7 @@ public interface ExpressionList<T> {
ExpressionList<T> filterMany(String manyProperty);
/**
* Deprecated for removal - migrate to filterManyRaw()
* @deprecated for removal - migrate to {@link #filterManyRaw(String, String, Object...)}.
* <p>
* Add filter expressions to the many property.
*
+3 -3
View File
@@ -1396,7 +1396,7 @@ public interface Query<T> extends CancelableQuery {
Query<T> orderBy(String orderByClause);
/**
* Deprecated migrate to orderBy().
* @deprecated migrate to {@link #orderBy()}.
*/
@Deprecated(since = "13.19", forRemoval = true)
default Query<T> order(String orderByClause) {
@@ -1415,7 +1415,7 @@ public interface Query<T> extends CancelableQuery {
OrderBy<T> orderBy();
/**
* Deprecated migrate to orderBy().
* @deprecated migrate to {@link #orderBy()}.
*/
@Deprecated(since = "13.19", forRemoval = true)
default OrderBy<T> order() {
@@ -1428,7 +1428,7 @@ public interface Query<T> extends CancelableQuery {
Query<T> setOrderBy(OrderBy<T> orderBy);
/**
* Deprecated migrate to setOrderBy().
* @deprecated migrate to {@link #setOrderBy(OrderBy)}.
*/
@Deprecated(since = "13.19", forRemoval = true)
default Query<T> setOrder(OrderBy<T> orderBy) {
@@ -2371,7 +2371,7 @@ public class DatabaseConfig {
}
/**
* Deprecated - migrate to classes().
* @deprecated - migrate to {@link #classes()}.
* <p>
* Sorry if returning Set rather than List breaks code but it feels safer to
* do that than a subtle change to return a shallow copy which you will not detect.
@@ -3387,7 +3387,7 @@ public class DatabaseConfig {
}
/**
* Deprecated - migrate to isLoadModuleInfo().
* @deprecated - migrate to {@link #isLoadModuleInfo()}.
*/
@Deprecated(forRemoval = true)
public boolean isAutoLoadModuleInfo() {
@@ -25,7 +25,7 @@ public abstract class PBaseString<R, T> extends PBaseComparable<R, T> {
}
/**
* Deprecated migrate to eq().
* @deprecated migrate to {@link #eq(Object)}.
* <p>
* Is equal to. The same as <code>eq</code> but uses the strong type as argument rather than String.
*
@@ -39,7 +39,7 @@ public abstract class PBaseString<R, T> extends PBaseComparable<R, T> {
}
/**
* Deprecated migrate to ne().
* @deprecated migrate to {@link #ne(Object)}.
* <p>
* Is not equal to. The same as <code>ne</code> but uses the strong type as argument rather than String.
*
@@ -188,7 +188,7 @@ public abstract class TQAssocBean<T, R, QB> extends TQAssoc<T, R> {
}
/**
* Deprecated for removal - migrate to filterManyRaw()
* @deprecated for removal - migrate to {@link #filterManyRaw(String, Object...)}.
* <p>
* Apply a filter when fetching these beans.
* <p>
@@ -1273,7 +1273,7 @@ public abstract class TQRootBean<T, R> {
}
/**
* Deprecated migrate to orderBy().
* @deprecated migrate to {@link #orderBy()}.
*/
@Deprecated(since = "13.19")
public R order() {
@@ -1293,7 +1293,7 @@ public abstract class TQRootBean<T, R> {
}
/**
* Deprecated migrate to {@link #orderBy(String)}
* @deprecated migrate to {@link #orderBy(String)}
*/
@Deprecated(since = "13.19")
public R order(String orderByClause) {