Various minor cleanups

Description

There are a couple of places where empty arrays are created and lists with just one element. These can be replaced by `Collections#singletonList()` or a constant array of zero length.

Environment

None

Assignee

Marko Bekhta

Reporter

Marko Bekhta

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Trivial
Configure