Yorubaname/yorubaname-website

Performance issue: Use Arrays.asList() with just zero or one item

Closed this issue · 1 comments

Hello,

Use Arrays.asList() with zero or only one item. Could be replaced with Collections.singletonList() or Collections.emptyList() which will save some memory.

Merged #69