Skip to content
Permalink
Browse files
[FIXED JENKINS-15351] Don't validate CPD report with empty schema.
  • Loading branch information
uhafner committed Oct 5, 2012
1 parent a715b62 commit dd207d5c076d0b25138cc48d0e33e6a030f6a048
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/dry/parser/cpd/CpdParser.java
@@ -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";

0 comments on commit dd207d5

Please sign in to comment.