Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-15351] Don't validate CPD report with empty schema.
  • Loading branch information
uhafner committed Oct 5, 2012
1 parent a715b62 commit dd207d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/dry/parser/cpd/CpdParser.java
Expand Up @@ -39,7 +39,7 @@ public CpdParser(final int highThreshold, final int normalThreshold) {
public boolean accepts(final InputStream file) {
try {
Digester digester = new Digester();
digester.setValidating(true);
digester.setValidating(false);
digester.setClassLoader(CpdParser.class.getClassLoader());

String duplicationXPath = "*/pmd-cpd";
Expand Down

0 comments on commit dd207d5

Please sign in to comment.