hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1792540 - /httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java
Date Mon, 24 Apr 2017 19:46:47 GMT
Author: ggregory
Date: Mon Apr 24 19:46:46 2017
New Revision: 1792540

URL: http://svn.apache.org/viewvc?rev=1792540&view=rev
Log:
Fix generics compiler warning.

Modified:
    httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java

Modified: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java?rev=1792540&r1=1792539&r2=1792540&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java
Mon Apr 24 19:46:46 2017
@@ -31,7 +31,7 @@ import java.lang.reflect.Method;
 
 public final class ReflectionSupport {
 
-    public static void callSetter(final Object object, final String setterName, final Class
type, final Object value) {
+    public static void callSetter(final Object object, final String setterName, final Class<?>
type, final Object value) {
         try {
             final Class<?> clazz = object.getClass();
             final Method method = clazz.getMethod("set" + setterName, type);



Mime
View raw message