Minor code cleanup due to Sonar audit

Description

Addresses issues where:
(1) we call foo.toArray(new String[0])
(2) we are not properly closing a connections in a try-finally
(3) we may be calling methods on a null object

Activity

Show:

Matthew Lee August 21, 2012 at 10:32 AM

Committed on:
Portal 6.1.x CE GIT ID: cc979a2c45f57d4219186f2ccd9beb23c7a4950f.
Portal 6.2.x GIT ID: 9f799948f82ad073a54e942653769e08efee21ce.

Completed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Priority

Zendesk Support

Created July 11, 2012 at 12:47 PM
Updated June 26, 2023 at 5:57 AM
Resolved August 21, 2012 at 1:42 PM