1
0
Fork 0
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:
Andrew Gvozdev 2009-11-20 20:35:14 +00:00
parent f1483c3294
commit e5c11f21e8

View file

@ -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) {