commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1153477 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
Date Wed, 03 Aug 2011 13:26:36 GMT
Author: ggregory
Date: Wed Aug  3 13:26:35 2011
New Revision: 1153477

URL: http://svn.apache.org/viewvc?rev=1153477&view=rev
Log:
Generify.

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java?rev=1153477&r1=1153476&r2=1153477&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
Wed Aug  3 13:26:35 2011
@@ -937,7 +937,7 @@ public class ToStringBuilderTest extends
      * @return the String result
      * @throws IllegalArgumentException if the Object is <code>null</code>
      */
-    public Object toStringWithStatics(Object object, ToStringStyle style, Class reflectUpToClass)
{
+    public <T> String toStringWithStatics(T object, ToStringStyle style, Class<?
super T> reflectUpToClass) {
         return ReflectionToStringBuilder.toString(object, style, false, true, reflectUpToClass);
     }
 



Mime
View raw message