Make instance variables final where possible.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-07-11 00:51:16 +00:00
parent 14373ad1b1
commit 782ea59054
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class DefaultExceptionContext implements ExceptionContext, Serializable {
private static final long serialVersionUID = 20110706L;
/** The list storing the label-data pairs. */
private List<Pair<String, Object>> contextValues = new ArrayList<Pair<String,Object>>();
private final List<Pair<String, Object>> contextValues = new ArrayList<Pair<String,Object>>();
/**
* {@inheritDoc}

View File

@ -559,7 +559,7 @@ static boolean containsTokenWithValue(Token[] tokens, Object value) {
return false;
}
private Object value;
private final Object value;
private int count;
/**