[Android] Make the DirSort class a private static final class in FileBrowser.java.

It's used nowhere else and leaving it as package local is just stupid.
This commit is contained in:
Lioncash 2014-03-06 03:14:44 -05:00
parent 2e3bb791ab
commit 9937875d38
1 changed files with 2 additions and 2 deletions

View File

@ -224,9 +224,9 @@ public class FileBrowser extends Fragment {
}
class DirSort implements Comparator<File> {
private static final class DirSort implements Comparator<File> {
// Comparator interface requires defining compare method.
@Override
public int compare(File filea, File fileb) {
return ((filea.isFile() ? "a" : "b") + filea.getName().toLowerCase(