Skip to content

Commit cfc0d0b

Browse files
committed
Update deprecated comment
1 parent 22e9599 commit cfc0d0b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ public class ExportCommandOptions {
8282
"Maximum number of threads to use for parallel processing (default: number of available processors)")
8383
protected Integer maxThreads;
8484

85-
// Deprecated option - kept for backward compatibility
85+
/**
86+
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
87+
*/
88+
@Deprecated
8689
@CommandLine.Option(
8790
names = {DEPRECATED_THREADS_OPTION},
8891
paramLabel = "<THREADS>",
8992
description = "Deprecated: Use --max-threads instead",
9093
hidden = true)
91-
@Deprecated
9294
protected Integer threadsDeprecated;
9395

9496
@CommandLine.Option(

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ public class ImportCommandOptions {
4545
"Maximum number of threads to use for parallel processing (default: number of available processors)")
4646
protected Integer maxThreads;
4747

48-
// Deprecated option - kept for backward compatibility
48+
/**
49+
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
50+
*/
51+
@Deprecated
4952
@CommandLine.Option(
5053
names = {DEPRECATED_THREADS_OPTION},
5154
paramLabel = "<THREADS>",
5255
description = "Deprecated: Use --max-threads instead",
5356
hidden = true)
54-
@Deprecated
5557
protected Integer threadsDeprecated;
5658

5759
@CommandLine.Option(

0 commit comments

Comments
 (0)