Generify.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-08-03 13:26:35 +00:00
parent bd082cddc8
commit 6869f0abad
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ public class ToStringBuilderTest extends TestCase {
* @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);
}