diff --git a/geronimo-json_1.1_spec/src/main/java/javax/json/EmptyJsonArray.java b/geronimo-json_1.1_spec/src/main/java/javax/json/EmptyJsonArray.java index d8862daf1..3cc62e8e4 100644 --- a/geronimo-json_1.1_spec/src/main/java/javax/json/EmptyJsonArray.java +++ b/geronimo-json_1.1_spec/src/main/java/javax/json/EmptyJsonArray.java @@ -18,6 +18,7 @@ import java.io.Serializable; import java.util.AbstractList; +import java.util.Collections; import java.util.List; class EmptyJsonArray extends AbstractList implements JsonArray, Serializable { @@ -53,7 +54,7 @@ public JsonString getJsonString(int index) { @Override public List getValuesAs(Class clazz) { - return null; + return Collections.emptyList(); } @Override