Fixed many warnings
This commit is contained in:
parent
c570847f3a
commit
ccecc067b2
160 changed files with 951 additions and 1151 deletions
|
|
@ -40,7 +40,7 @@ public class StringSplitBenchmark {
|
|||
public void substring(){
|
||||
for(int i=0; i<TEST_EXECUTIONS; i++) {
|
||||
List<String> splitList = StringUtil.split(str, delimiter.charAt(0));
|
||||
assertSplit(splitList.toArray(new String[splitList.size()]));
|
||||
assertSplit(splitList.toArray(new String[0]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue