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-codec.git


The following commit(s) were added to refs/heads/master by this push:
     new 353e79cd Format tweak
353e79cd is described below

commit 353e79cd3edd84e1250021e896974d9018fc74bb
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 18 08:52:24 2024 -0400

    Format tweak
---
 src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java 
b/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
index b98893cf..3621487d 100644
--- a/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
+++ b/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
@@ -197,7 +197,7 @@ public class PhoneticEngine {
         public RulesApplication invoke() {
             this.found = false;
             int patternLength = 1;
-            final List<Rule> rules = this.finalRules.get(input.subSequence(i, 
i+patternLength));
+            final List<Rule> rules = this.finalRules.get(input.subSequence(i, 
i + patternLength));
             if (rules != null) {
                 for (final Rule rule : rules) {
                     final String pattern = rule.getPattern();

Reply via email to