private static void loadCandidates(ProfilerSection section){
  section.start("Candidate");
  File[] search_dirs=new File[]{new File(ToastBootstrap.toastHome,"modules/")};
  File[] lib_dirs=new File[0];
  if (!isCorePhase) {
    search_dirs=Storage.USB_Module("modules");
    lib_dirs=Storage.USB_Module("libs");
  }
  for (  File dir : lib_dirs) {
    dir.mkdirs();
    search_libs(dir);
  }
  for (  File dir : search_dirs) {
    dir.mkdirs();
    search(dir);
  }
  section.stop("Candidate");
}

private static void loadCandidates ( ProfilerSection section ) { section . start ( "Candidate" ) ; File [ ] search_dirs = new File [ ] { new File ( ToastBootstrap . toastHome , "modules/" ) } ; File [ ] lib_dirs = new File [ 0 ] ; if ( ! isCorePhase ) { search_dirs = Storage . USB_Module ( "modules" ) ; lib_dirs = Storage . USB_Module ( "libs" ) ; } for ( File dir : lib_dirs ) { dir . mkdirs ( ) ; search_libs ( dir ) ; } for ( File dir : search_dirs ) { dir . mkdirs ( ) ; search ( dir ) ; } section . stop ( "Candidate" ) ; }
start discovery for module candidates .
