We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5e310 commit a21c243Copy full SHA for a21c243
utilities/treeview/src/main/java/com/unnamed/b/atv/model/TreeNode.java
@@ -302,14 +302,14 @@ public void toggleSelectionMode(boolean editModeEnabled) {
302
}
303
304
305
- public class SortFileName implements Comparator<TreeNode> {
+ public static class SortFileName implements Comparator<TreeNode> {
306
@Override
307
public int compare(TreeNode f1, TreeNode f2) {
308
return f1.getValue().getName().compareTo(f2.getValue().getName());
309
310
311
312
- public class SortFolder implements Comparator<TreeNode> {
+ public static class SortFolder implements Comparator<TreeNode> {
313
314
public int compare(TreeNode p1, TreeNode p2) {
315
File f1 = p1.getValue();
0 commit comments