Skip to content
This repository has been archived by the owner on Apr 6, 2022. 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 6743c6c commit 66424dd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/java/hudson/plugins/dry/DryReporterDescriptor.java
@@ -1,13 +1,10 @@
package hudson.plugins.dry;

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

import org.kohsuke.stapler.QueryParameter;
import org.kohsuke.stapler.StaplerRequest;

/**
* Descriptor for the class {@link DryReporter}. Used as a singleton. The
Expand All @@ -27,12 +24,6 @@ public DryReporterDescriptor() {
super(DryReporter.class, new DryDescriptor());
}

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

/**
* Performs on-the-fly validation on threshold for high warnings.
*
Expand Down

0 comments on commit 66424dd

Please sign in to comment.