Removed optimizations that we decided not to do right now

This commit is contained in:
Eugene Livis 2017-05-01 17:39:00 -04:00
parent da1217a4df
commit 561133d167

View File

@ -62,10 +62,6 @@ public final class AutopsyManifestFileParser implements ManifestFileParser {
@Override @Override
public Manifest parse(Path filePath) throws ManifestFileParserException { public Manifest parse(Path filePath) throws ManifestFileParserException {
if (!fileIsManifest(filePath)) {
throw new ManifestFileParserException(String.format("%s not recognized as a manifest", filePath));
}
try { try {
Document doc = this.createManifestDOM(filePath); Document doc = this.createManifestDOM(filePath);
XPath xpath = XPathFactory.newInstance().newXPath(); XPath xpath = XPathFactory.newInstance().newXPath();