} else if (renameTo.endsWith(".zip")) {
renameTo = renameTo.substring(0, renameTo.length() - 4);
compressAction = new ZipCompressAction(new File(renameTo), new File(compressedName), true);
}
final FileRenameAction renameAction =
new FileRenameAction(new File(currentFileName), new File(renameTo), false);
return new RolloverDescriptionImpl(currentFileName, false, renameAction, compressAction);
}
return null;