private void resetTHL(TungstenProperties serviceProps,Map<String,String> progress){
  String logDirName=serviceProps.getString("replicator.store.thl.log_dir");
  File logDir=new File(logDirName);
  if (!removeDirectory(logDir,progress)) {
    logger.error(String.format("Could not remove the log directory %s",logDirName));
  }
}

private void resetTHL ( TungstenProperties serviceProps , Map < String , String > progress ) { String logDirName = serviceProps . getString ( "replicator.store.thl.log_dir" ) ; File logDir = new File ( logDirName ) ; if ( ! removeDirectory ( logDir , progress ) ) { logger . error ( String . format ( "Could not remove the log directory %s" , logDirName ) ) ; } }
clears thl if it exists .
