ET_FilterHandler after CODETOOLS-7902183 is fixed contains the following:
public String put(String key, String value) {
if (!(key instanceof String) ||
!(value instanceof String))
throw new IllegalArgumentException("both args must be strings");
prefs.setPreference(key, value);
return null;
}
It needs to be simplified
public String put(String key, String value) {
if (!(key instanceof String) ||
!(value instanceof String))
throw new IllegalArgumentException("both args must be strings");
prefs.setPreference(key, value);
return null;
}
It needs to be simplified
- relates to
-
CODETOOLS-7902183 Using generics in com.sun.javatest.exec package
-
- Resolved
-