Skip to content

Commit

Permalink
Merge pull request #715 from asciidoctor/master
Browse files Browse the repository at this point in the history
Prepare for 4.0.2 release
  • Loading branch information
ysb33r authored Jan 26, 2024
2 parents 0d94f98 + 34f2cf1 commit dd4ee02
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class AbstractImplementationEngineExtension
protected Collection<String> stringizeList(
Collection<Object> list,
boolean fromTaskOnly,
Function<AbstractImplementationEngineExtension,Collection<String>> other
Function<AbstractImplementationEngineExtension, Collection<String>> other
) {
if (!task || fromTaskOnly) {
stringize(list)
Expand Down Expand Up @@ -325,7 +325,7 @@ class AbstractImplementationEngineExtension
case Callable:
return item
default:
return { -> projectOperations.stringTools.stringize(item) } as Callable<String>
return { -> projectOperations.stringTools.stringizeOrNull(item) } as Callable<String>
}
}
}
Expand All @@ -346,7 +346,7 @@ class AbstractImplementationEngineExtension
case Callable:
return [key, item]
default:
return [key, { -> projectOperations.stringTools.stringize(item) } as Callable<String>]
return [key, { -> projectOperations.stringTools.stringizeOrNull(item) } as Callable<String>]
}
} as Map<String, Object>
}
Expand All @@ -356,6 +356,6 @@ class AbstractImplementationEngineExtension
}

private List<String> stringize(Collection<?> stringyThings) {
projectOperations.stringTools.stringize(stringyThings)
projectOperations.stringTools.stringizeDropNull(stringyThings)
}
}

0 comments on commit dd4ee02

Please sign in to comment.