You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/07/06 19:27:18 UTC
(commons-codec) 01/02: Comment
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
commit 25225b0ecd58d4c5d580107590b11e6855fc2d30
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Jul 6 14:56:14 2025 -0400
Comment
---
src/main/java/org/apache/commons/codec/language/bm/Rule.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/codec/language/bm/Rule.java b/src/main/java/org/apache/commons/codec/language/bm/Rule.java
index fdd5ba3a..aee7b760 100644
--- a/src/main/java/org/apache/commons/codec/language/bm/Rule.java
+++ b/src/main/java/org/apache/commons/codec/language/bm/Rule.java
@@ -427,7 +427,8 @@ public class Rule {
}
private static PhonemeExpr parsePhonemeExpr(final String ph) {
- if (ph.startsWith("(")) { // we have a bracketed list of options
+ if (ph.startsWith("(")) {
+ // we have a bracketed list of options
if (!ph.endsWith(")")) {
throw new IllegalArgumentException("Phoneme starts with '(' so must end with ')'");
}