hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r679520 - /httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java
Date Thu, 24 Jul 2008 20:00:28 GMT
Author: olegk
Date: Thu Jul 24 13:00:27 2008
New Revision: 679520

URL: http://svn.apache.org/viewvc?rev=679520&view=rev
Log:
Fixed generics warning

Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java?rev=679520&r1=679519&r2=679520&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/utils/JdkIdn.java
Thu Jul 24 13:00:27 2008
@@ -14,7 +14,7 @@
      * @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) {



Mime
View raw message