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 2023/07/07 02:48:49 UTC
[commons-codec] branch master updated: Remove extra ()
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 ff691d38 Remove extra ()
ff691d38 is described below
commit ff691d3876f49c9a685498423d5d5dcbead8179e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jul 6 22:48:44 2023 -0400
Remove extra ()
---
.../commons/codec/language/bm/PhoneticEngineRegressionTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java b/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java
index 802def7f..58af604e 100644
--- a/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java
+++ b/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java
@@ -263,10 +263,10 @@ public class PhoneticEngineRegressionTest {
// PhoneticEngine = NameType + RuleType + concat
// we use common-codec's defaults: GENERIC + APPROX + true
final String nameTypeArg = args.get("nameType");
- final NameType nameType = (nameTypeArg == null) ? NameType.GENERIC : NameType.valueOf(nameTypeArg);
+ final NameType nameType = nameTypeArg == null ? NameType.GENERIC : NameType.valueOf(nameTypeArg);
final String ruleTypeArg = args.get("ruleType");
- final RuleType ruleType = (ruleTypeArg == null) ? RuleType.APPROX : RuleType.valueOf(ruleTypeArg);
+ final RuleType ruleType = ruleTypeArg == null ? RuleType.APPROX : RuleType.valueOf(ruleTypeArg);
engine = new PhoneticEngine(nameType, ruleType, concat);