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

Commit

Permalink
[FIXED JENKINS-27548] Do not alter SAX environment variable anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 27, 2016
1 parent 22c3ccc commit 2fb29b9
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -16,7 +16,6 @@
import hudson.FilePath;
import hudson.plugins.analysis.core.AnnotationParser;
import hudson.plugins.analysis.util.ContextHashCode;
import hudson.plugins.analysis.util.SaxSetup;
import hudson.plugins.analysis.util.model.FileAnnotation;
import hudson.plugins.dry.parser.cpd.CpdParser;
import hudson.plugins.dry.parser.dupfinder.DupFinderParser;
Expand Down Expand Up @@ -75,7 +74,6 @@ public DuplicationParserRegistry(final int normalThreshold, final int highThresh

@Override
public Collection<FileAnnotation> parse(final File file, final String moduleName) throws InvocationTargetException {
SaxSetup sax = new SaxSetup();
FileInputStream inputStream = null;
try {
for (AbstractDryParser parser : parsers) {
Expand Down Expand Up @@ -104,7 +102,6 @@ public Collection<FileAnnotation> parse(final File file, final String moduleName
throw new InvocationTargetException(exception);
}
finally {
sax.cleanup();
IOUtils.closeQuietly(inputStream);
}
}
Expand Down

0 comments on commit 2fb29b9

Please sign in to comment.