Fixed generics warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@679520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
685ca305b7
commit
bcd59b2007
|
@ -14,7 +14,7 @@ public class JdkIdn implements Idn {
|
|||
* @throws ClassNotFoundException if java.net.IDN is not available
|
||||
*/
|
||||
public JdkIdn() throws ClassNotFoundException {
|
||||
Class clazz = Class.forName("java.net.IDN");
|
||||
Class<?> clazz = Class.forName("java.net.IDN");
|
||||
try {
|
||||
toUnicode = clazz.getMethod("toUnicode", String.class);
|
||||
} catch (SecurityException e) {
|
||||
|
|
Loading…
Reference in New Issue