Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
[FIXED JENKINS-12075] Removed newInstance compatibility methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 13, 2011
1 parent 9b06ab7 commit 6e120ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/hudson/plugins/pmd/PmdReporterDescriptor.java
@@ -1,11 +1,7 @@
package hudson.plugins.pmd;

import hudson.Extension;
import hudson.maven.MavenReporter;
import hudson.plugins.analysis.core.ReporterDescriptor;
import net.sf.json.JSONObject;

import org.kohsuke.stapler.StaplerRequest;

/**
* Descriptor for the class {@link PmdReporter}. Used as a singleton. The
Expand All @@ -21,11 +17,5 @@ public class PmdReporterDescriptor extends ReporterDescriptor {
public PmdReporterDescriptor() {
super(PmdReporter.class, new PmdDescriptor());
}

/** {@inheritDoc} */
@Override
public MavenReporter newInstance(final StaplerRequest request, final JSONObject formData) throws FormException {
return request.bindJSON(PmdReporter.class, formData);
}
}

0 comments on commit 6e120ad

Please sign in to comment.