git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3351 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-05-25 22:41:50 +00:00
1 parent ab11e41d93
commit efa072c232
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ public class SCMS {
*/
public static SCM parseSCM(StaplerRequest req) throws FormException {
String scm = req.getParameter("scm");
if(scm==null) return null;
if(scm==null) return new NullSCM();
int scmidx = Integer.parseInt(scm);
SCMDescriptor<?> d = SCMS.get(scmidx);