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:
parent
14373ad1b1
commit
782ea59054
|
@ -44,7 +44,7 @@ public class DefaultExceptionContext implements ExceptionContext, Serializable {
|
||||||
private static final long serialVersionUID = 20110706L;
|
private static final long serialVersionUID = 20110706L;
|
||||||
|
|
||||||
/** The list storing the label-data pairs. */
|
/** 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}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -559,7 +559,7 @@ public class DurationFormatUtils {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Object value;
|
private final Object value;
|
||||||
private int count;
|
private int count;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue