From 19884d0ca33018d1e417fafd253ec63cf8c31ccd Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 25 Dec 2018 09:59:58 +0000 Subject: 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 --- src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java') 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]); -- cgit v1.2.3