Skip to content

Commit bd39f19

Browse files
authored
Update java doc comments for deprecated params in data loader (#3188)
1 parent fd37bca commit bd39f19

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataexport/ExportCommandOptions.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class ExportCommandOptions {
9494
protected Integer maxThreads;
9595

9696
/**
97-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
97+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --max-threads instead
9898
*/
9999
@Deprecated
100100
@CommandLine.Option(
@@ -118,7 +118,10 @@ public class ExportCommandOptions {
118118
// TODO: test that -si false, works
119119
protected boolean scanStartInclusive;
120120

121-
// Deprecated option - kept for backward compatibility
121+
/**
122+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --start-inclusive
123+
* instead (inverted logic).
124+
*/
122125
@CommandLine.Option(
123126
names = {DEPRECATED_START_EXCLUSIVE_OPTION},
124127
description = "Deprecated: Use --start-inclusive instead (inverted logic)",
@@ -139,7 +142,10 @@ public class ExportCommandOptions {
139142
defaultValue = "true")
140143
protected boolean scanEndInclusive;
141144

142-
// Deprecated option - kept for backward compatibility
145+
/**
146+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --end-inclusive instead
147+
* (inverted logic).
148+
*/
143149
@CommandLine.Option(
144150
names = {DEPRECATED_END_EXCLUSIVE_OPTION},
145151
description = "Deprecated: Use --end-inclusive instead (inverted logic)",

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataimport/ImportCommandOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ImportCommandOptions {
4646
protected Integer maxThreads;
4747

4848
/**
49-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
49+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --max-threads instead
5050
*/
5151
@Deprecated
5252
@CommandLine.Option(
@@ -75,7 +75,7 @@ public class ImportCommandOptions {
7575
protected String controlFilePath;
7676

7777
/**
78-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --enable-log-success
78+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --enable-log-success
7979
* instead
8080
*/
8181
@Deprecated

0 commit comments

Comments
 (0)