From e55b6f49913cb962cc40b3578951a23283317b29 Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Fri, 16 Sep 2016 17:08:55 +0530 Subject: [PATCH] shallowMap() should behave like a map. testcase added --- .../org/apache/solr/common/util/NamedList.java | 13 ++++++++++--- .../apache/solr/common/util/NamedListTest.java | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java b/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java index dd5afe72087..858fec9390f 100644 --- a/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java +++ b/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java @@ -425,7 +425,12 @@ public class NamedList implements Cloneable, Serializable, Iterable implements Cloneable, Serializable, Iterable