diff --git a/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java b/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java index 0fcf7201d34..462c6561870 100644 --- a/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java +++ b/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java @@ -691,11 +691,6 @@ class ArrayOfNamedValuePairJSONWriter extends JSONWriter { } } - @Override - public void writeArray(String name, List l) throws IOException { - super.writeArray(name, l); - } - @Override public void writeNamedList(String name, NamedList val) throws IOException { diff --git a/solr/core/src/test/org/apache/solr/response/JSONWriterTest.java b/solr/core/src/test/org/apache/solr/response/JSONWriterTest.java index 2dce08e6865..076d322437f 100644 --- a/solr/core/src/test/org/apache/solr/response/JSONWriterTest.java +++ b/solr/core/src/test/org/apache/solr/response/JSONWriterTest.java @@ -181,6 +181,7 @@ public class JSONWriterTest extends SolrTestCaseJ4 { methodsExpectedNotOverriden.add("writeMapOpener"); methodsExpectedNotOverriden.add("writeMapSeparator"); methodsExpectedNotOverriden.add("writeMapCloser"); + methodsExpectedNotOverriden.add("public void org.apache.solr.response.JSONWriter.writeArray(java.lang.String,java.util.List) throws java.io.IOException"); methodsExpectedNotOverriden.add("writeArrayOpener"); methodsExpectedNotOverriden.add("writeArraySeparator"); methodsExpectedNotOverriden.add("writeArrayCloser");