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-12075] Removed newInstance compatibility methods.
  • Loading branch information
uhafner committed Dec 13, 2011
1 parent 8d99dfe commit 30e307d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/hudson/plugins/tasks/TasksReporterDescriptor.java
@@ -1,11 +1,7 @@
package hudson.plugins.tasks;

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 TasksReporter}. Used as a singleton. The
Expand All @@ -21,11 +17,5 @@ public class TasksReporterDescriptor extends ReporterDescriptor {
public TasksReporterDescriptor() {
super(TasksReporter.class, new TasksDescriptor());
}

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

0 comments on commit 30e307d

Please sign in to comment.