Make immutable private variable final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0120e9264d
commit
bb8164bb2c
|
@ -491,7 +491,7 @@ public class FastDateParser implements DateParser, Serializable {
|
|||
/**
|
||||
* A <code>Pattern</code> to parse the user supplied SimpleDateFormat pattern
|
||||
*/
|
||||
private static Pattern formatPattern= Pattern.compile(
|
||||
private static final Pattern formatPattern= Pattern.compile(
|
||||
"D+|E+|F+|G+|H+|K+|M+|S+|W+|Z+|a+|d+|h+|k+|m+|s+|w+|y+|z+|''|'[^']++(''[^']*+)*+'|[^'A-Za-z]++");
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue