From 09a6b6105a62b8dd1b7d75ecb9af920d7b28e067 Mon Sep 17 00:00:00 2001 From: Lutz HORN Date: Mon, 2 Dec 2024 17:53:47 +0000 Subject: [PATCH] deprecation warning: use @parameters instead of @MessageBundle --- src/test/java/com/beust/jcommander/args/ArgsI18N2.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/beust/jcommander/args/ArgsI18N2.java b/src/test/java/com/beust/jcommander/args/ArgsI18N2.java index 1ccfd439c..b90afee4f 100644 --- a/src/test/java/com/beust/jcommander/args/ArgsI18N2.java +++ b/src/test/java/com/beust/jcommander/args/ArgsI18N2.java @@ -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")