Making inner class private fields final per LANG-474

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@803006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-08-11 06:39:39 +00:00
parent d836af99d2
commit 62aef1a558
1 changed files with 3 additions and 3 deletions

View File

@ -273,7 +273,7 @@ public abstract class StrMatcher {
*/
static final class CharSetMatcher extends StrMatcher {
/** The set of characters to match. */
private char[] chars;
private final char[] chars;
/**
* Constructor that creates a matcher from a character array.
@ -307,7 +307,7 @@ public abstract class StrMatcher {
*/
static final class CharMatcher extends StrMatcher {
/** The character to match. */
private char ch;
private final char ch;
/**
* Constructor that creates a matcher that matches a single character.
@ -340,7 +340,7 @@ public abstract class StrMatcher {
*/
static final class StringMatcher extends StrMatcher {
/** The string to match, as a character array. */
private char[] chars;
private final char[] chars;
/**
* Constructor that creates a matcher from a String.