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-digester.git
The following commit(s) were added to refs/heads/master by this push: new b0c9fdd Remove use of redundant String.substring() parameter. b0c9fdd is described below commit b0c9fddb3996e9282ec7273803863f4aec8bcda6 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Feb 28 09:26:17 2021 -0500 Remove use of redundant String.substring() parameter. --- core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java b/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java index 51b8c58..4434f1b 100644 --- a/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java +++ b/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java @@ -303,7 +303,7 @@ public class ExtendedBaseRules if ( isUniversal ) { // and find the underlying key - key = key.substring( 1, key.length() ); + key = key.substring( 1 ); } // don't need to check exact matches