-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated OptionBuilder with Option.builder() #2488
base: integration
Are you sure you want to change the base?
Conversation
...house/ingest-core/src/main/java/datawave/ingest/util/GenerateMultipleNumShardsCacheFile.java
Outdated
Show resolved
Hide resolved
Does it make sense to remove the OptionBuilderTest unit tests too? |
44d7443
to
98ac1ab
Compare
// options.addOption(Option.builder("u").argName("Username").hasArg().required().desc("Accumulo username").build()); | ||
options.addOption(Option.builder(CONFIG_DIRECTORY_LOCATION_OVERRIDE).argName("Config Directory Path").hasArg().required().desc("Config directory path") | ||
.build()); | ||
options.addOption(Option.builder(CONFIG_SUFFIX_OVERRIDE).argName("Config Suffix").hasArg().required().desc("Config file suffix").build()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is not required. Caught this as it broke in integration testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double check what is required and what is not in terms of options.
The following classes have been updated to use Option.builder() instead of the deprecated class OptionBuilder:
part of #2443