Refactor Filter / Tools

This commit is contained in:
Reinhard Pointner 2016-11-02 01:01:41 +08:00
parent 8656af9508
commit ccf42e80a8
1 changed files with 4 additions and 5 deletions

View File

@ -116,14 +116,13 @@ class SplitTool extends Tool<TreeModel> {
return new DefaultTreeModel(new FolderNode("Volumes", rootGroup));
}
protected FolderNode createStatisticsNode(int disk, List<File> files) {
return createStatisticsNode(String.format("Disk %,d", disk), files);
}
@Override
protected void setModel(TreeModel model) {
tree.setModel(model);
}
protected FolderNode createStatisticsNode(int disk, List<File> files) {
System.out.println(files);
return createStatisticsNode(String.format("Disk %,d", disk), files);
}
}