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 2024/12/28 13:01:34 UTC
(commons-codec) 08/19: Add Checkstyle LeftCurly
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 d07a2e618ca38d09d0bb772809261f0e0ba463c9
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Dec 28 07:37:27 2024 -0500
Add Checkstyle LeftCurly
---
.../org/apache/commons/codec/language/Metaphone.java | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/language/Metaphone.java b/src/main/java/org/apache/commons/codec/language/Metaphone.java
index caf07828..c95bd140 100644
--- a/src/main/java/org/apache/commons/codec/language/Metaphone.java
+++ b/src/main/java/org/apache/commons/codec/language/Metaphone.java
@@ -106,10 +106,13 @@ public class Metaphone implements StringEncoder {
}
/**
- * Returns the maxCodeLen.
- * @return int
+ * Gets the maxCodeLen.
+ *
+ * @return the maxCodeLen.
*/
- public int getMaxCodeLen() { return this.maxCodeLen; }
+ public int getMaxCodeLen() {
+ return this.maxCodeLen;
+ }
private boolean isLastChar(final int wdsz, final int n) {
return n + 1 == wdsz;
@@ -385,8 +388,11 @@ public class Metaphone implements StringEncoder {
/**
* Sets the maxCodeLen.
- * @param maxCodeLen The maxCodeLen to set
+ *
+ * @param maxCodeLen The maxCodeLen to set.
*/
- public void setMaxCodeLen(final int maxCodeLen) { this.maxCodeLen = maxCodeLen; }
+ public void setMaxCodeLen(final int maxCodeLen) {
+ this.maxCodeLen = maxCodeLen;
+ }
}