Skip to content

Commit a21c243

Browse files
committed
fix: build errors
1 parent fb5e310 commit a21c243

File tree

1 file changed

+2
-2
lines changed
  • utilities/treeview/src/main/java/com/unnamed/b/atv/model

1 file changed

+2
-2
lines changed

utilities/treeview/src/main/java/com/unnamed/b/atv/model/TreeNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,14 @@ public void toggleSelectionMode(boolean editModeEnabled) {
302302
}
303303
}
304304

305-
public class SortFileName implements Comparator<TreeNode> {
305+
public static class SortFileName implements Comparator<TreeNode> {
306306
@Override
307307
public int compare(TreeNode f1, TreeNode f2) {
308308
return f1.getValue().getName().compareTo(f2.getValue().getName());
309309
}
310310
}
311311

312-
public class SortFolder implements Comparator<TreeNode> {
312+
public static class SortFolder implements Comparator<TreeNode> {
313313
@Override
314314
public int compare(TreeNode p1, TreeNode p2) {
315315
File f1 = p1.getValue();

0 commit comments

Comments
 (0)