Skip to content

Commit 9776441

Browse files
committed
Suppress JdkObsolete warning on use of StringBuffer.
MessageFormat doesn't have a nice StringBuilder alternative to use.
1 parent 12087d2 commit 9776441

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/com/github/fge/msgsimple/bundle/MessageBundle.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ public String printf(final String key, final Object... params)
201201
* @param params the format parameters
202202
* @return the formatted message
203203
*/
204+
@SuppressWarnings("JdkObsolete")
204205
public String format(final Locale locale, final String key,
205206
final Object... params)
206207
{

0 commit comments

Comments
 (0)