diff options
author | Dominik Stadler <centic@apache.org> | 2018-12-25 09:59:58 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2018-12-25 09:59:58 +0000 |
commit | 19884d0ca33018d1e417fafd253ec63cf8c31ccd (patch) | |
tree | 4d62b20301f3c4cb1c5995742d27fa6a6068dd34 /src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java | |
parent | 7421bc9a17d6f3803d2d9e44e6535d6004a6090b (diff) | |
download | poi-19884d0ca33018d1e417fafd253ec63cf8c31ccd.tar.gz poi-19884d0ca33018d1e417fafd253ec63cf8c31ccd.zip |
Code-style: Unify how arrays are specified from C-style to normal Java-style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java')
-rw-r--r-- | src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java b/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java index 40dfd698fc..c721774461 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java +++ b/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java @@ -82,11 +82,11 @@ public class TestDateUtil { Calendar expCal = LocaleUtil.getLocaleCalendar(1900, 0, 0); - Calendar actCal[] = { - DateUtil.getJavaCalendar(dateValue), - DateUtil.getJavaCalendar(dateValue, use1904windowing), - DateUtil.getJavaCalendar(dateValue, use1904windowing, tz), - DateUtil.getJavaCalendar(dateValue, use1904windowing, tz, roundSeconds) + Calendar[] actCal = { + DateUtil.getJavaCalendar(dateValue), + DateUtil.getJavaCalendar(dateValue, use1904windowing), + DateUtil.getJavaCalendar(dateValue, use1904windowing, tz), + DateUtil.getJavaCalendar(dateValue, use1904windowing, tz, roundSeconds) }; assertEquals(expCal, actCal[0]); assertEquals(expCal, actCal[1]); |