public void deleteClassArtifactsInTaintedPackages ( ) { for ( String pkg : taintedPackages ) { Map < String , File > arts = fetchPrevArtifacts ( pkg ) ; for ( File f : arts . values ( ) ) { if ( f . exists ( ) && f . getName ( ) . endsWith ( ".class" ) ) { f . delete ( ) ; } } } }
Delete all prev artifacts in the currently tainted packages .