Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix StringToArtifactPropertiesConverter for empty lines
The problem with action configuration in YAML: ``` artifact-properties: | /**/*.zip::zip.name=${{ github.event.repository.name }},zip.deployed=false /**/*docs.zip::zip.type=docs /**/*dist.zip::zip.type=dist ``` It visually not obvious that there are some empty lines in the end. Plus end-user may decide to separate those entries with empty lines as well. * Fix `StringToArtifactPropertiesConverter` to use `StringUtils.hasText()`. The `hasLength()` does count whitespaces as content * Some other suggested by IDEA simple refactoring for the `StringToArtifactPropertiesConverter`: - `String.split()` never returns null - `String.substring()` without second argument yields to `length()` internally
- Loading branch information