Apache Solr open-source search software
added ALS header and fixed missing inteface method
Simon Willnauer8ff4498bd32d
diff --git a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHWriter.java b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHWriter.javaindex 18d7fd3a275..1781ddd7278 100644--- a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHWriter.java+++ b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHWriter.java@@ -1,8 +1,20 @@package org.apache.solr.handler.dataimport;--import java.util.Map;-import java.util.Set;-+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */import org.apache.solr.common.SolrInputDocument;/**@@ -77,5 +89,8 @@ public interface DIHWriter {* @param context*/public void init(Context context) ;++ //TODO add comments+ public DebugLogger getDebugLogger();}diff --git a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/SolrWriter.java b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/SolrWriter.javaindex cd12996780c..0aa62d2fb28 100644--- a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/SolrWriter.java+++ b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/SolrWriter.java@@ -163,4 +163,9 @@ public class SolrWriter implements DIHWriter {/* NO-OP */}+ @Override+ public DebugLogger getDebugLogger() {+ return debugLogger;+ }+}