lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [21/36] lucene-solr:jira/solr-8593: Remove not actually needed JSONWriter.writeArray override.
Date Thu, 10 Nov 2016 21:15:51 GMT
Remove not actually needed JSONWriter.writeArray override.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a6128613
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a6128613
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a6128613

Branch: refs/heads/jira/solr-8593
Commit: a61286134a03026450bb9f78b8bfde1375793122
Parents: 915ed6f
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Tue Nov 8 13:11:45 2016 +0000
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Tue Nov 8 13:29:45 2016 +0000

----------------------------------------------------------------------
 .../src/java/org/apache/solr/response/JSONResponseWriter.java   | 5 -----
 solr/core/src/test/org/apache/solr/response/JSONWriterTest.java | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a6128613/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java
----------------------------------------------------------------------
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 0fcf720..462c656 100644
--- a/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java
+++ b/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java
@@ -692,11 +692,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 {
 
     if (val instanceof SimpleOrderedMap) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a6128613/solr/core/src/test/org/apache/solr/response/JSONWriterTest.java
----------------------------------------------------------------------
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 2dce08e..076d322 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");


Mime
View raw message