From 4bd34517dae112bc31d59d03f5f2342f3789aa54 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Fri, 13 Jul 2007 04:52:22 +0000 Subject: [PATCH] adding generic to avoid some warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555873 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/common/util/DOMUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/solr/common/util/DOMUtil.java b/src/java/org/apache/solr/common/util/DOMUtil.java index b2673db4142..11d337b31af 100644 --- a/src/java/org/apache/solr/common/util/DOMUtil.java +++ b/src/java/org/apache/solr/common/util/DOMUtil.java @@ -88,7 +88,7 @@ public class DOMUtil { // response schema. // Should these be moved to Config? Should all of these things? ////////////////////////////////////////////////////////// - public static NamedList childNodesToNamedList(Node nd) { + public static NamedList childNodesToNamedList(Node nd) { return nodesToNamedList(nd.getChildNodes()); } @@ -96,8 +96,8 @@ public class DOMUtil { return nodesToList(nd.getChildNodes()); } - public static NamedList nodesToNamedList(NodeList nlst) { - NamedList clst = new NamedList(); + public static NamedList nodesToNamedList(NodeList nlst) { + NamedList clst = new NamedList(); for (int i=0; i