Skip to content
Permalink
Browse files
Remove unnecessary second argument for substring (we want it all)
  • Loading branch information
FSchumacher committed Mar 5, 2022
1 parent 8768b86 commit 7d81464d9bada76de0d6435fb2036685d46ca029
Showing 1 changed file with 1 addition and 1 deletion.
@@ -491,7 +491,7 @@ private void initTemplate() {
}

if (beginOffset < rawTemplate.length()) { // trailing string is not empty
combined.add(rawTemplate.substring(beginOffset, rawTemplate.length()));
combined.add(rawTemplate.substring(beginOffset));
}
if (log.isDebugEnabled()) {
log.debug("Template item count: {}", combined.size());

0 comments on commit 7d81464

Please sign in to comment.