You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/04/24 19:46:47 UTC
svn commit: r1792540 -
/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/ssl/ReflectionSupport.java
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);