From 3d695d683569073ea2db0d42c21739c33d14a3f7 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 23 Jul 2009 00:02:24 +0000 Subject: [PATCH] trim whitespace git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20065 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/CVSSCM.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/scm/CVSSCM.java b/core/src/main/java/hudson/scm/CVSSCM.java index 6f6770e4a0..d43bfc0f58 100644 --- a/core/src/main/java/hudson/scm/CVSSCM.java +++ b/core/src/main/java/hudson/scm/CVSSCM.java @@ -93,7 +93,6 @@ import java.util.Set; import java.util.TimeZone; import java.util.TreeSet; import java.util.logging.Logger; -import java.util.logging.Level; import static java.util.logging.Level.INFO; import java.util.concurrent.ExecutionException; import java.util.regex.Matcher; @@ -153,7 +152,7 @@ public class CVSSCM extends SCM implements Serializable { if(fixNull(branch).equals("HEAD")) branch = null; - this.cvsroot = cvsRoot; + this.cvsroot = fixNull(cvsRoot).trim(); this.module = module.trim(); this.branch = nullify(branch); this.cvsRsh = nullify(cvsRsh); -- GitLab