Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Add ASL header - sorry for the oversight on this.

Erik Hatcherf56d33e2d4b4
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/ConfigurableDocumentHandler.java b/contrib/ant/src/java/org/apache/lucene/ant/ConfigurableDocumentHandler.java
index d6eb81b1bf4..8f54e30f26e 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/ConfigurableDocumentHandler.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/ConfigurableDocumentHandler.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.util.Properties;
public interface ConfigurableDocumentHandler extends DocumentHandler {
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandler.java b/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandler.java
index 96a2ec913a7..c2002aa380d 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandler.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandler.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.lucene.document.Document;
import java.io.File;
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandlerException.java b/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandlerException.java
index 324eb26af28..70e69f11122 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandlerException.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/DocumentHandlerException.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.io.PrintStream;
import java.io.PrintWriter;
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/FileExtensionDocumentHandler.java b/contrib/ant/src/java/org/apache/lucene/ant/FileExtensionDocumentHandler.java
index 7962272faa6..0878a6171fa 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/FileExtensionDocumentHandler.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/FileExtensionDocumentHandler.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.lucene.document.Document;
import java.io.File;
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/HtmlDocument.java b/contrib/ant/src/java/org/apache/lucene/ant/HtmlDocument.java
index 7bf176837db..1fb3f631f36 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/HtmlDocument.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/HtmlDocument.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.lucene.document.Field;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/IndexTask.java b/contrib/ant/src/java/org/apache/lucene/ant/IndexTask.java
index 774e1c05433..02dcac6d712 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/IndexTask.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/IndexTask.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.StopAnalyzer;
import org.apache.lucene.analysis.SimpleAnalyzer;
diff --git a/contrib/ant/src/java/org/apache/lucene/ant/TextDocument.java b/contrib/ant/src/java/org/apache/lucene/ant/TextDocument.java
index b03bd36643e..9d49e3c99d3 100644
--- a/contrib/ant/src/java/org/apache/lucene/ant/TextDocument.java
+++ b/contrib/ant/src/java/org/apache/lucene/ant/TextDocument.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.lucene.document.Document;
import org.apache.lucene.document.Field;
diff --git a/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java b/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
index 724365a6ec1..2d31e8b61dc 100644
--- a/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
+++ b/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.io.File;
import java.io.IOException;
diff --git a/contrib/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.java b/contrib/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.java
index 8a3743debb1..023769199fa 100644
--- a/contrib/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.java
+++ b/contrib/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.io.IOException;
import org.apache.lucene.ant.DocumentTestCase;
diff --git a/contrib/ant/src/test/org/apache/lucene/ant/IndexTaskTest.java b/contrib/ant/src/test/org/apache/lucene/ant/IndexTaskTest.java
index f2ee27ac3c8..9c7868bcb8a 100644
--- a/contrib/ant/src/test/org/apache/lucene/ant/IndexTaskTest.java
+++ b/contrib/ant/src/test/org/apache/lucene/ant/IndexTaskTest.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.io.File;
import java.io.IOException;
diff --git a/contrib/ant/src/test/org/apache/lucene/ant/TextDocumentTest.java b/contrib/ant/src/test/org/apache/lucene/ant/TextDocumentTest.java
index fae3350f135..36f82dd966c 100644
--- a/contrib/ant/src/test/org/apache/lucene/ant/TextDocumentTest.java
+++ b/contrib/ant/src/test/org/apache/lucene/ant/TextDocumentTest.java
@@ -1,5 +1,21 @@
package org.apache.lucene.ant;
+/**
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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 java.io.IOException;
import org.apache.lucene.ant.DocumentTestCase;