File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/java/org/jenkinsci/plugins/parameterizedscheduler Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >org.jenkins-ci.plugins</groupId >
77 <artifactId >plugin</artifactId >
8- <version >6.2108.v08c2b_01b_cf4d </version >
8+ <version >6.2116.v7501b_67dc517 </version >
99 <relativePath />
1010 </parent >
1111
1919 <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
2020 <jenkins .baseline>2.479</jenkins .baseline>
2121 <jenkins .version>${jenkins.baseline} .3</jenkins .version>
22+ <ban-commons-lang-2 .skip>false</ban-commons-lang-2 .skip>
23+ <hpi .strictBundledArtifacts>true</hpi .strictBundledArtifacts>
2224 </properties >
2325
2426 <name >Parameterized Scheduler</name >
Original file line number Diff line number Diff line change 33import com .google .common .base .Splitter ;
44import edu .umd .cs .findbugs .annotations .CheckForNull ;
55import hudson .model .ParametersDefinitionProperty ;
6- import org .apache .commons .lang .StringUtils ;
76
87import java .util .Collections ;
98import java .util .List ;
@@ -24,7 +23,7 @@ public class ParameterParser {
2423 * @return Map of key-value pairs parsed from provided string
2524 */
2625 public Map <String , String > parse (String nameValuePairFormattedString ) {
27- if (StringUtils .isBlank (nameValuePairFormattedString )) {
26+ if (nameValuePairFormattedString == null || nameValuePairFormattedString .isBlank ()) {
2827 return Collections .emptyMap ();
2928 }
3029 String clean = nameValuePairFormattedString .trim ();
You can’t perform that action at this time.
0 commit comments