You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2013/11/07 22:04:58 UTC

svn commit: r1539822 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java

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();
     }
 }