Skip to content

Conversation

@Claudenw
Copy link
Contributor

Fixed Ant tasks.

@Claudenw Claudenw changed the title Fix Ant tasks after removing deprecated items RAT-465: Fix Ant tasks after removing deprecated items Nov 10, 2025
configuration.getClaimValidator().listIssues(reporter.getClaimsStatistic()))));
}
}
} catch (ParseException e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I'd prefer to log something before exiting with status 1.

try {
OptionCollection.ArgumentType.valueOf(argName);
} catch (IllegalArgumentException e) {
throw new IllegalStateException(format("Argument type %s must be in OptionCollection.ArgumentType", option.getArgName()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we reference the ArgumentType class here in a compiler-safe way such as
OptionCollection.ArgumentType.class.getSimpleName() to make it refactoring-proof?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants