@@ -1507,9 +1507,9 @@ public int getBufferSize() {
15071507 /**
15081508 * Gets how long to wait for control keep-alive message replies.
15091509 *
1510- * @deprecated Use {@link #getControlKeepAliveReplyTimeoutDuration()}.
15111510 * @return wait time in milliseconds.
15121511 * @since 3.0
1512+ * @deprecated Use {@link #getControlKeepAliveReplyTimeoutDuration()}.
15131513 */
15141514 @ Deprecated
15151515 public int getControlKeepAliveReplyTimeout () {
@@ -1532,9 +1532,9 @@ public Duration getControlKeepAliveReplyTimeoutDuration() {
15321532 * See the class Javadoc section "Control channel keep-alive feature"
15331533 * </p>
15341534 *
1535- * @deprecated Use {@link #getControlKeepAliveTimeoutDuration()}.
15361535 * @return the number of seconds between keepalive messages.
15371536 * @since 3.0
1537+ * @deprecated Use {@link #getControlKeepAliveTimeoutDuration()}.
15381538 */
15391539 @ Deprecated
15401540 public long getControlKeepAliveTimeout () {
@@ -1579,8 +1579,8 @@ public CopyStreamListener getCopyStreamListener() {
15791579 * <li>Number of IOErrors ignored</li>
15801580 * </ul>
15811581 *
1582- * @deprecated 3.7 For testing only; may be dropped or changed at any time
15831582 * @return the debug array
1583+ * @deprecated 3.7 For testing only; may be dropped or changed at any time
15841584 */
15851585 @ Deprecated // only for use in testing
15861586 public int [] getCslDebug () {
@@ -2952,10 +2952,10 @@ public void setControlKeepAliveReplyTimeout(final Duration timeout) {
29522952 /**
29532953 * Sets the duration to wait for control keep-alive message replies.
29542954 *
2955- * @deprecated Use {@link #setControlKeepAliveReplyTimeout(Duration)}.
29562955 * @param timeoutMillis number of milliseconds to wait (defaults to 1,000).
29572956 * @since 3.0
29582957 * @see #setControlKeepAliveTimeout(long)
2958+ * @deprecated Use {@link #setControlKeepAliveReplyTimeout(Duration)}.
29592959 */
29602960 @ Deprecated
29612961 public void setControlKeepAliveReplyTimeout (final int timeoutMillis ) {
@@ -2982,10 +2982,10 @@ public void setControlKeepAliveTimeout(final Duration controlIdle) {
29822982 * See the class Javadoc section "Control channel keep-alive feature"
29832983 * </p>
29842984 *
2985- * @deprecated Use {@link #setControlKeepAliveTimeout(Duration)}.
29862985 * @param controlIdleSeconds the wait in seconds between keepalive messages. Zero (or less) disables.
29872986 * @since 3.0
29882987 * @see #setControlKeepAliveReplyTimeout(int)
2988+ * @deprecated Use {@link #setControlKeepAliveTimeout(Duration)}.
29892989 */
29902990 @ Deprecated
29912991 public void setControlKeepAliveTimeout (final long controlIdleSeconds ) {
@@ -3023,8 +3023,8 @@ public void setDataTimeout(final Duration timeout) {
30233023 * <strong>Note:</strong> the timeout will also be applied when calling accept() whilst establishing an active local data connection.
30243024 * </p>
30253025 *
3026- * @deprecated Use {@link #setDataTimeout(Duration)}.
30273026 * @param timeoutMillis The default timeout in milliseconds that is used when opening a data connection socket. The value 0 means an infinite timeout.
3027+ * @deprecated Use {@link #setDataTimeout(Duration)}.
30283028 */
30293029 @ Deprecated
30303030 public void setDataTimeout (final int timeoutMillis ) {
@@ -3214,8 +3214,8 @@ public void setPassiveLocalIPAddress(final String ipAddress) throws UnknownHostE
32143214 * The default is true, i.e. site-local replies are replaced.
32153215 * </p>
32163216 *
3217- * @deprecated (3.6) use {@link #setPassiveNatWorkaroundStrategy(HostnameResolver)} instead
32183217 * @param enabled true to enable replacing internal IP's in passive mode.
3218+ * @deprecated (3.6) use {@link #setPassiveNatWorkaroundStrategy(HostnameResolver)} instead
32193219 */
32203220 @ Deprecated
32213221 public void setPassiveNatWorkaround (final boolean enabled ) {
0 commit comments