mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
updated to use form field databinding
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16485 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7138ab22b2
commit
a722c278af
2 files changed
+3
-9
No files matched your search
@@ -122,7 +122,7 @@ public class Sventon extends SubversionRepositoryBrowser {
|
||||
/**
|
||||
* Performs on-the-fly validation of the URL.
|
||||
*/
|
||||
public FormValidation doCheck(@AncestorInPath AbstractProject project, @QueryParameter(fixEmpty=true) final String value) throws IOException, ServletException {
|
||||
public FormValidation doCheckUrl(@AncestorInPath AbstractProject project, @QueryParameter(fixEmpty=true) final String value) throws IOException, ServletException {
|
||||
if(!project.hasPermission(Item.CONFIGURE)) return FormValidation.ok(); // can't check
|
||||
if(value==null) // nothing entered yet
|
||||
return FormValidation.ok();
|
||||
|
||||
Reference in new issue
Block a user