Skip to content

Commit 5612674

Browse files
committed
Allow ivar to be accessed from a subclass without warnings:
Severity Description Resource In Folder Location Creation Time Read access to enclosing field DoubleMetaphone.maxCodeLen is emulated by a synthetic accessor method. Increasing its visibility will improve your performance DoubleMetaphone.java Apache Jakarta Commons/codec/src/java/org/apache/commons/codec/language line 1118 July 25, 2003 3:53:04 PM Read access to enclosing field DoubleMetaphone.maxCodeLen is emulated by a synthetic accessor method. Increasing its visibility will improve your performance DoubleMetaphone.java Apache Jakarta Commons/codec/src/java/org/apache/commons/codec/language line 1119 July 25, 2003 3:53:04 PM git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130170 13f79535-47bb-0310-9956-ffa450edef68
1 parent a7b192d commit 5612674

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/java/org/apache/commons/codec/language/DoubleMetaphone.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* </ul>
7272
*
7373
* @author <a href="mailto:ben@walstrum.com">Benjamin Walstrum</a>
74-
* @version $Id: DoubleMetaphone.java,v 1.6 2003/07/25 22:52:55 ggregory Exp $
74+
* @version $Id: DoubleMetaphone.java,v 1.7 2003/07/25 22:53:53 ggregory Exp $
7575
*/
7676
public class DoubleMetaphone implements StringEncoder {
7777

@@ -95,7 +95,7 @@ public class DoubleMetaphone implements StringEncoder {
9595
/**
9696
* Maximum length of an encoding, default is 4
9797
*/
98-
private int maxCodeLen = 4;
98+
protected int maxCodeLen = 4;
9999

100100
/**
101101
* Creates an instance of this DoubleMetaphone encoder

0 commit comments

Comments
 (0)