Skip to content

Commit ffd6cca

Browse files
committed
Update javadoc for deprecated methods
1 parent 5d095d5 commit ffd6cca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ebean-datasource-api/src/main/java/io/ebean/datasource/DataSourcePool.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static DataSourceBuilder builder() {
4848
String name();
4949

5050
/**
51-
* Deprecated migrate to name().
51+
* @deprecated migrate to {@link #name()}.
5252
*/
5353
@Deprecated
5454
default String getName() {
@@ -106,7 +106,7 @@ default String getName() {
106106
PoolStatus status(boolean reset);
107107

108108
/**
109-
* Deprecated migrate to status().
109+
* @deprecated migrate to {@link #status(boolean)}.
110110
*/
111111
@Deprecated
112112
default PoolStatus getStatus(boolean reset) {
@@ -119,7 +119,7 @@ default PoolStatus getStatus(boolean reset) {
119119
SQLException dataSourceDownReason();
120120

121121
/**
122-
* Deprecated migrate to dataSourceDownReason().
122+
* @deprecated migrate to {@link #dataSourceDownReason()}
123123
*/
124124
@Deprecated
125125
default SQLException getDataSourceDownReason() {
@@ -140,7 +140,7 @@ default SQLException getDataSourceDownReason() {
140140
* and not require a restart. We may want to increase the maxConnections if the
141141
* pool gets large and hits the warning levels.
142142
*/
143-
@Deprecated
143+
@Deprecated(forRemoval = true)
144144
void setWarningSize(int warningSize);
145145

146146
/**
@@ -149,7 +149,7 @@ default SQLException getDataSourceDownReason() {
149149
* Return the warning size. When the pool hits this size it can send a
150150
* warning message to an administrator.
151151
*/
152-
@Deprecated
152+
@Deprecated(forRemoval = true)
153153
int getWarningSize();
154154

155155
}

0 commit comments

Comments
 (0)