Skip to content

Commit b1b6712

Browse files
author
KINAXIS\agharat
committed
Updated comments for include versions
1 parent e0a2432 commit b1b6712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jenkinsci/plugins/workflow/libs/LibraryCachingConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public Boolean isIncluded(String version) {
101101
return false;
102102
}
103103
for (String it : getIncludedVersions()) {
104-
// confirm that the excluded versions aren't null or empty
105-
// and if the version contains the exclusion thus it can be
104+
// works on empty or null included versions
105+
// and if the version contains the inclusion thus it can be
106106
// anywhere in the string.
107107
if (StringUtils.isNotBlank(it) && version.contains(it)){
108108
return true;

0 commit comments

Comments
 (0)