Skip to content

Commit

Permalink
deprecation warning: use @parameters instead of @MessageBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost authored and mkarg committed Dec 2, 2024
1 parent 7b8b4e6 commit 09a6b61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/com/beust/jcommander/args/ArgsI18N2.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
package com.beust.jcommander.args;

import com.beust.jcommander.Parameter;
import com.beust.jcommander.ResourceBundle;
import com.beust.jcommander.Parameters;

@SuppressWarnings("deprecation")
@ResourceBundle("MessageBundle")
@Parameters(resourceBundle = "MessageBundle")
public class ArgsI18N2 {

@Parameter(names = "-host", description = "Host", descriptionKey = "host")
Expand Down

0 comments on commit 09a6b61

Please sign in to comment.