Skip to content

Commit b07e70a

Browse files
committed
Update deprecated comment
1 parent 67001a0 commit b07e70a

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
@@ -41,13 +41,15 @@ public class ImportCommandOptions {
4141
"Maximum number of threads to use for parallel processing (default: number of available processors)")
4242
protected Integer maxThreads;
4343

44-
// Deprecated option - kept for backward compatibility
44+
/**
45+
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
46+
*/
47+
@Deprecated
4548
@CommandLine.Option(
4649
names = {DEPRECATED_THREADS_OPTION},
4750
paramLabel = "<THREADS>",
4851
description = "Deprecated: Use --max-threads instead",
4952
hidden = true)
50-
@Deprecated
5153
protected Integer threadsDeprecated;
5254

5355
@CommandLine.Option(

0 commit comments

Comments
 (0)