Reports any calls to
Arrays.asList()
with zero arguments or only one argument. Such calls could be replaced with either a call to
Collections.singletonList()
or
Collections.emptyList()
which will save some memory.