Apache Lucene open-source search software
Adding Apache license header to the extraction contrib project
Ryan McKinleya5a9be2d193a
diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.javaindex 506c706921f..3b0bb872b4d 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java@@ -1,3 +1,19 @@+/**+ * 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.+ */package org.apache.solr.handler.extraction;import org.apache.commons.io.IOUtils;diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingMetadataConstants.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingMetadataConstants.javaindex 6f780240c3c..474e16cfa5f 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingMetadataConstants.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingMetadataConstants.java@@ -1,3 +1,19 @@+/**+ * 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.+ */package org.apache.solr.handler.extraction;diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingParams.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingParams.javaindex bd259156801..cf4acd762f9 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingParams.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingParams.java@@ -1,3 +1,19 @@+/**+ * 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.+ */package org.apache.solr.handler.extraction;diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.javaindex b5d6215a172..0d870366d31 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java@@ -1,5 +1,3 @@-package org.apache.solr.handler.extraction;-/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed with@@ -16,6 +14,8 @@ package org.apache.solr.handler.extraction;* See the License for the specific language governing permissions and* limitations under the License.*/+package org.apache.solr.handler.extraction;+import org.apache.solr.common.SolrException;import org.apache.solr.common.SolrException.ErrorCode;@@ -42,7 +42,6 @@ import java.util.HashSet;* first from the document.* <p/>*/-public class ExtractingRequestHandler extends ContentStreamHandlerBase implements SolrCoreAware {private transient static Logger log = LoggerFactory.getLogger(ExtractingRequestHandler.class);diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandler.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandler.javaindex 2660f6f77d4..7134ccc5a0d 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandler.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandler.java@@ -1,3 +1,20 @@+/**+ * 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.+ */+package org.apache.solr.handler.extraction;import org.apache.solr.common.SolrException;diff --git a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandlerFactory.java b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandlerFactory.javaindex 36b5ebdb815..acf94a2d801 100644--- a/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandlerFactory.java+++ b/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/SolrContentHandlerFactory.java@@ -1,3 +1,19 @@+/**+ * 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.+ */package org.apache.solr.handler.extraction;import org.apache.tika.metadata.Metadata;