mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
fixed a NPE bug when creating a new job.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1792 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
545383c93f
commit
08cebb5ea6
1 file changed
+2
-2
@@ -4,7 +4,7 @@ import hudson.FilePath;
|
||||
import hudson.FilePath.FileCallable;
|
||||
import hudson.Launcher;
|
||||
import hudson.Util;
|
||||
import static hudson.Util.fixEmpty;
|
||||
import static hudson.Util.fixNull;
|
||||
import hudson.model.AbstractBuild;
|
||||
import hudson.model.AbstractProject;
|
||||
import hudson.model.BuildListener;
|
||||
@@ -586,7 +586,7 @@ public class SubversionSCM extends AbstractCVSFamilySCM implements Serializable
|
||||
public void doAuthenticationCheck(final StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
|
||||
new FormFieldValidator(req,rsp,true) {
|
||||
protected void check() throws IOException, ServletException {
|
||||
StringTokenizer tokens = new StringTokenizer(fixEmpty(request.getParameter("value")));
|
||||
StringTokenizer tokens = new StringTokenizer(fixNull(request.getParameter("value")));
|
||||
String message="";
|
||||
|
||||
while(tokens.hasMoreTokens()) {
|
||||
|
||||
Reference in new issue
Block a user