From a61286134a03026450bb9f78b8bfde1375793122 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Tue, 8 Nov 2016 13:11:45 +0000 Subject: [PATCH] Remove not actually needed JSONWriter.writeArray override. --- .../java/org/apache/solr/response/JSONResponseWriter.java | 5 ----- .../src/test/org/apache/solr/response/JSONWriterTest.java | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) 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");