Don't mutate parameters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5932b49770
commit
9135f2d28c
|
@ -1233,12 +1233,13 @@ public class FastDatePrinter implements DatePrinter, Serializable {
|
|||
* @param locale the timezone locale
|
||||
*/
|
||||
TimeZoneDisplayKey(final TimeZone timeZone,
|
||||
final boolean daylight, int style, final Locale locale) {
|
||||
final boolean daylight, final int style, final Locale locale) {
|
||||
mTimeZone = timeZone;
|
||||
if (daylight) {
|
||||
style |= 0x80000000;
|
||||
mStyle = style | 0x80000000;
|
||||
} else {
|
||||
mStyle = style;
|
||||
}
|
||||
mStyle = style;
|
||||
mLocale = locale;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue