better type safety (not that it really matters here, though)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2599 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-03-24 04:26:04 +00:00
1 parent 096af3c696
commit 47002a488e
1 file changed
+2 -2
@@ -3,9 +3,9 @@ package hudson.scm.browsers;
import hudson.model.Descriptor;
import hudson.scm.CVSChangeLogSet.File;
import hudson.scm.CVSChangeLogSet.Revision;
import hudson.scm.CVSRepositoryBrowser;
import hudson.scm.ChangeLogSet.Entry;
import hudson.scm.RepositoryBrowser;
import hudson.scm.CVSRepositoryBrowser;
import org.kohsuke.stapler.StaplerRequest;
import java.io.IOException;
@@ -89,7 +89,7 @@ public final class ViewCVS extends CVSRepositoryBrowser {
return "ViewCVS";
}
public RepositoryBrowser newInstance(StaplerRequest req) throws FormException {
public ViewCVS newInstance(StaplerRequest req) throws FormException {
return req.bindParameters(ViewCVS.class,"viewcvs.");
}
};