ambiguous method call: prefer non raw types (IDEA-100314)

This commit is contained in:
Anna Kozlova
2013-02-04 14:07:07 +04:00
parent 8b28b06e00
commit c4be7cc14a
3 changed files with 20 additions and 0 deletions
@@ -0,0 +1,13 @@
class Intellij {
public static <T> T getProperty(final String str, final Class<T> cls) {
return null;
}
public static <T> T getProperty(final String str, final T defaultValue) {
return null;
}
String[] ids = Intellij.getProperty(" ", String[].class);
}