cbeust / jcommander

Command line parsing framework for Java
Apache License 2.0
1.95k stars 332 forks source link

deprecation warning: use @Parameters instead of @MessageBundle #497

Open ghost opened 4 years ago

ghost commented 4 years ago

The use of @MessageBundle is deprecated, @Parameters should be used instead.

This PR fixes this in a single unit test.

mkarg commented 11 months ago

Thank you for your contribution. In fact, the test seems to delilberately use the deprecated annotation to guarantee backwards compatiblity with the same major version. Once we move on to JCommander v2 development line, we indeed could remove this test. Hence I will abstain from merging now, but keep the PR for future reference.