}
LOGGER.info("extracting " + entry + " to " + tmpDestFile);
FileOutputStream fileOutputStream = null;
try {
fileOutputStream = new FileOutputStream(tmpDestFile);
war.writeEntryTo(entry, fileOutputStream);
fileOutputStream.close();
fileOutputStream = null;
if (!tmpDestFile.renameTo(destfile)) {
throw new IOException(
"Cannot rename " + tmpDestFile + " to " + destfile);