mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-02-08 17:30:40 +00:00
ignore emulators folders
This commit is contained in:
parent
452750c339
commit
ee31043057
@ -44,7 +44,7 @@ public class DuplicateSwingWorker extends SwingWorker<Void, RootFolderData>
|
||||
|
||||
if (files == null || files.length == 0)
|
||||
{
|
||||
System.out.println ("Empty folder : " + directory.getAbsolutePath ());
|
||||
// System.out.println ("Empty folder : " + directory.getAbsolutePath ());
|
||||
return;
|
||||
}
|
||||
|
||||
@ -55,8 +55,13 @@ public class DuplicateSwingWorker extends SwingWorker<Void, RootFolderData>
|
||||
|
||||
if (file.isDirectory ())
|
||||
{
|
||||
rootFolderData.incrementFolders ();
|
||||
traverse (file);
|
||||
if (file.getName ().equalsIgnoreCase ("emulators"))
|
||||
System.out.println ("ignoring: " + file.getAbsolutePath ());
|
||||
else
|
||||
{
|
||||
rootFolderData.incrementFolders ();
|
||||
traverse (file);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user