question: private synchronized void clearScanFiles ( ) { if ( ( allFiles != null ) && ( allFiles . size ( ) > 0 ) ) { Iterator it = allFiles . iterator ( ) ; File file = null ; while ( it . hasNext ( ) ) { file = ( File ) it . next ( ) ; file . delete ( ) ; } allFiles . clear ( ) ; } }
target:  Limpia la lista de ficheros del escaneo