removed fully qualified class name from jaxb instantiation

Former-commit-id: 15d5f9e2013daba62f7e32618958743e87e8ea79
This commit is contained in:
Jeremy Long
2014-08-05 09:18:35 -04:00
parent 6ccc053d7e
commit ba5dbb94b8

View File

@@ -170,7 +170,7 @@ public class JarAnalyzer extends AbstractFileTypeAnalyzer {
public JarAnalyzer() {
try {
//final JAXBContext jaxbContext = JAXBContext.newInstance("org.owasp.dependencycheck.jaxb.pom.generated");
final JAXBContext jaxbContext = JAXBContext.newInstance(org.owasp.dependencycheck.jaxb.pom.generated.Model.class);
final JAXBContext jaxbContext = JAXBContext.newInstance(Model.class);
pomUnmarshaller = jaxbContext.createUnmarshaller();
} catch (JAXBException ex) { //guess we will just have a null pointer exception later...
LOGGER.log(Level.SEVERE, "Unable to load parser. See the log for more details.");