Sonar fix: make "dateFormat" an instance variable 38/88338/2
authorr.bogacki <r.bogacki@samsung.com>
Thu, 23 May 2019 11:12:04 +0000 (13:12 +0200)
committerRobert Bogacki <r.bogacki@samsung.com>
Mon, 10 Jun 2019 10:10:13 +0000 (10:10 +0000)
Fixed critical Sonar issue. SimpleDateFormat was declared as a static
but it is not tread-safe and it keeps an internal state.
Compliant solution has been applied with additional DateUtil class.

Issue-ID: PORTAL-590
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Ic6243052804a410cb750c6c219c702469c86ff78


No differences found