Rule 6:return empty collection or array not null
as immutable objects may be shared freely
Here is the code to do it, using the Collections.emptyList method. If you were returning a set, you’d use Collections.emptySet; if you were returning a map, you’d use Collections.emptyMap