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:
Oleg Kalnichevski 2008-07-24 20:00:27 +00:00
parent 685ca305b7
commit bcd59b2007
1 changed files with 1 additions and 1 deletions

View File

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