@stapler-constructor is deprecated.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4773 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-09-16 06:19:15 +00:00
1 parent 3ae5020266
commit a0ade5f89b
4 files changed
+8 -12

No files matched your search

@@ -14,6 +14,7 @@ import java.util.regex.Pattern;
import javax.servlet.ServletException;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.DataBoundConstructor;
/**
* Repository browser for CVS in a FishEye server.
@@ -26,9 +27,7 @@ public final class FishEyeCVS extends CVSRepositoryBrowser {
*/
public final URL url;
/**
* @stapler-constructor
*/
@DataBoundConstructor
public FishEyeCVS(URL url) {
this.url = normalizeToEndWithSlash(url);
}
@@ -10,6 +10,7 @@ import hudson.scm.EditType;
import hudson.util.FormFieldValidator;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.DataBoundConstructor;
import javax.servlet.ServletException;
import java.io.IOException;
@@ -37,9 +38,7 @@ public class FishEyeSVN extends SubversionRepositoryBrowser {
*/
private final String rootModule;
/**
* @stapler-constructor
*/
@DataBoundConstructor
public FishEyeSVN(URL url, String rootModule) throws MalformedURLException {
this.url = normalizeToEndWithSlash(url);
@@ -7,6 +7,7 @@ import hudson.scm.CVSChangeLogSet.Revision;
import hudson.scm.CVSRepositoryBrowser;
import hudson.scm.RepositoryBrowser;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.DataBoundConstructor;
import java.io.IOException;
import java.net.MalformedURLException;
@@ -27,9 +28,7 @@ public final class ViewCVS extends CVSRepositoryBrowser {
*/
public final URL url;
/**
* @stapler-constructor
*/
@DataBoundConstructor
public ViewCVS(URL url) throws MalformedURLException {
this.url = normalizeToEndWithSlash(url);
}
@@ -7,6 +7,7 @@ import hudson.scm.SubversionChangeLogSet;
import hudson.scm.SubversionChangeLogSet.Path;
import hudson.scm.SubversionRepositoryBrowser;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.DataBoundConstructor;
import java.io.IOException;
import java.net.MalformedURLException;
@@ -29,9 +30,7 @@ public class ViewSVN extends SubversionRepositoryBrowser {
*/
public final URL url;
/**
* @stapler-constructor
*/
@DataBoundConstructor
public ViewSVN(URL url) throws MalformedURLException {
this.url = normalizeToEndWithSlash(url);
}