commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1539822 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java
Date Thu, 07 Nov 2013 21:04:58 GMT
Author: oheger
Date: Thu Nov  7 21:04:58 2013
New Revision: 1539822

URL: http://svn.apache.org/r1539822
Log:
Fixed warnings in test class.

Modified:
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java?rev=1539822&r1=1539821&r2=1539822&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java
Thu Nov  7 21:04:58 2013
@@ -30,7 +30,7 @@ package org.apache.commons.beanutils;
 
 public class ThrowExceptionConverter implements Converter {
 
-    public Object convert(Class type, Object value) {
+    public <T> T convert(Class<T> type, Object value) {
         throw new PassTestException();
     }
 }



Mime
View raw message