This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-chain.git
The following commit(s) were added to refs/heads/master by this push: new 1b59dc1 Use isEmpty(). 1b59dc1 is described below commit 1b59dc13a56ba9300d5b171b14e231f48928c886 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jan 17 09:36:53 2021 -0500 Use isEmpty(). --- web/src/main/java/org/apache/commons/chain2/web/ChainResources.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/main/java/org/apache/commons/chain2/web/ChainResources.java b/web/src/main/java/org/apache/commons/chain2/web/ChainResources.java index 24012a0..c271a43 100644 --- a/web/src/main/java/org/apache/commons/chain2/web/ChainResources.java +++ b/web/src/main/java/org/apache/commons/chain2/web/ChainResources.java @@ -144,7 +144,7 @@ final class ChainResources { while (resourcesTokenizer.hasMoreTokens()) { String path = resourcesTokenizer.nextToken().trim(); - if (path.length() > 0) { + if (!path.isEmpty()) { paths.add(path); } }