[Type] Enhancement
[Module] Sub
[Priority] Minor
[CQ#] // CQ Issue Number
[Redmine#] // Redmine Isuue Number
[Problem] // Problem Description
[Cause] // Cause Description
[Solution] // Solution Description
[TestCase] // Executed the test-target (How to)
{
return (String) obj;
}
- else if ( obj instanceof Object[] )
- {
- return toString( ( Object[] ) obj );
- } else if ( obj.getClass().isArray() )
+ else if ( obj.getClass().isArray() )
{
int length = Array.getLength( obj );
assertEquals( "{}", result );
assertEquals( "{true, false}", CollectionUtil.toString( new boolean[] { true, false } ) );
+ assertEquals( "{a, b}", CollectionUtil.toString( new Object[] { "a", "b" } ) );
}
/**