Change Collections.emptyList() to ImmutableList.of() in Sector.

This commit is contained in:
Major-
2014-09-15 04:19:45 +01:00
parent 67e12d5867
commit 69c75f5e31
+1 -2
View File
@@ -1,7 +1,6 @@
package org.apollo.game.model.area;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -121,7 +120,7 @@ public final class Sector {
List<Entity> entities = this.entities.get(position);
if (entities == null) {
this.entities.put(position, new ArrayList<>());
return Collections.emptyList();
return ImmutableList.of();
}
return ImmutableList.copyOf(entities);