mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
cleanup: unnecessary casts
This commit is contained in:
parent
f1483c3294
commit
e5c11f21e8
1 changed files with 2 additions and 2 deletions
|
@ -34,11 +34,11 @@ public class UIMessages {
|
|||
}
|
||||
|
||||
public static String getFormattedString(String key, String arg) {
|
||||
return MessageFormat.format(getString(key), (Object[])new String[] { arg });
|
||||
return MessageFormat.format(getString(key), new String[] { arg });
|
||||
}
|
||||
|
||||
public static String getFormattedString(String key, String[] args) {
|
||||
return MessageFormat.format(getString(key), (Object[])args);
|
||||
return MessageFormat.format(getString(key), args);
|
||||
}
|
||||
|
||||
public static String getString(String key) {
|
||||
|
|
Loading…
Add table
Reference in a new issue