}
}
}
}
public boolean isMatchingFileExtension(File file) {
<BUG>if (file.getName().endsWith(".war")) {
if (_log.isDebugEnabled()) {</BUG>
_log.debug(file.getPath() + " has a matching extension");
}
return true;

}
ZipFile zipFile = null;
try {
zipFile = new ZipFile(file);
if (zipFile.getEntry(checkXmlFile) == null) {
if (_log.isDebugEnabled()) {
_log.debug(
file.getPath() + " does not have " + checkXmlFile);
}
return false;
}
else {
return true;
