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:
parent
bd082cddc8
commit
6869f0abad
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue