List<String> pathList = new ArrayList<String>();
if( null != svnDiffSummarys && svnDiffSummarys.length != 0 ){
//paths = new String[svnDiffSummarys.length];
for( int index = 0; index < svnDiffSummarys.length ; index ++ ){
//paths[index] = svnDiffSummarys[index].getPath();
SVNDiffSummary svnDiffSummary = svnDiffSummarys[index];
if( svnDiffSummary.getNodeKind() == NodeKind.file ){
pathList.add(svnDiffSummary.getPath());
}
}
}
String[] paths = pathList.toArray(new String[pathList.size()]);