Apache Solr open-source search software
Updated license to Apache License 2.0.
Doug Cutting15afb15cb657
diff --git a/src/demo/org/apache/lucene/demo/DeleteFiles.java b/src/demo/org/apache/lucene/demo/DeleteFiles.javaindex c72bf47caa1..6156e5ee520 100644--- a/src/demo/org/apache/lucene/demo/DeleteFiles.java+++ b/src/demo/org/apache/lucene/demo/DeleteFiles.java@@ -1,57 +1,19 @@package org.apache.lucene.demo;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/demo/org/apache/lucene/demo/FileDocument.java b/src/demo/org/apache/lucene/demo/FileDocument.javaindex 58ae536bc20..300256b0edd 100644--- a/src/demo/org/apache/lucene/demo/FileDocument.java+++ b/src/demo/org/apache/lucene/demo/FileDocument.java@@ -1,57 +1,19 @@package org.apache.lucene.demo;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/demo/org/apache/lucene/demo/HTMLDocument.java b/src/demo/org/apache/lucene/demo/HTMLDocument.javaindex 79f5bdd9b16..5f600666193 100644--- a/src/demo/org/apache/lucene/demo/HTMLDocument.java+++ b/src/demo/org/apache/lucene/demo/HTMLDocument.java@@ -1,57 +1,19 @@package org.apache.lucene.demo;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/demo/org/apache/lucene/demo/IndexHTML.java b/src/demo/org/apache/lucene/demo/IndexHTML.javaindex 76db0637f33..6e031436140 100644--- a/src/demo/org/apache/lucene/demo/IndexHTML.java+++ b/src/demo/org/apache/lucene/demo/IndexHTML.java@@ -1,57 +1,19 @@package org.apache.lucene.demo;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.standard.StandardAnalyzer;diff --git a/src/demo/org/apache/lucene/demo/SearchFiles.java b/src/demo/org/apache/lucene/demo/SearchFiles.javaindex 02f38b73534..27eb0d4a6fd 100644--- a/src/demo/org/apache/lucene/demo/SearchFiles.java+++ b/src/demo/org/apache/lucene/demo/SearchFiles.java@@ -1,57 +1,19 @@package org.apache.lucene.demo;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/demo/org/apache/lucene/demo/html/Entities.java b/src/demo/org/apache/lucene/demo/html/Entities.javaindex d2475814cf4..26dfe183cc7 100644--- a/src/demo/org/apache/lucene/demo/html/Entities.java+++ b/src/demo/org/apache/lucene/demo/html/Entities.java@@ -1,57 +1,19 @@package org.apache.lucene.demo.html;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/demo/org/apache/lucene/demo/html/ParserThread.java b/src/demo/org/apache/lucene/demo/html/ParserThread.javaindex 382c2592f85..a5a68c87ff5 100644--- a/src/demo/org/apache/lucene/demo/html/ParserThread.java+++ b/src/demo/org/apache/lucene/demo/html/ParserThread.java@@ -1,57 +1,19 @@package org.apache.lucene.demo.html;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/demo/org/apache/lucene/demo/html/Tags.java b/src/demo/org/apache/lucene/demo/html/Tags.javaindex af672b42271..4c12f7f5740 100644--- a/src/demo/org/apache/lucene/demo/html/Tags.java+++ b/src/demo/org/apache/lucene/demo/html/Tags.java@@ -1,56 +1,19 @@package org.apache.lucene.demo.html;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2003 The Apache Software Foundation. All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Collections;diff --git a/src/demo/org/apache/lucene/demo/html/Test.java b/src/demo/org/apache/lucene/demo/html/Test.javaindex b52d69e420b..36e9f44740b 100644--- a/src/demo/org/apache/lucene/demo/html/Test.java+++ b/src/demo/org/apache/lucene/demo/html/Test.java@@ -1,57 +1,19 @@package org.apache.lucene.demo.html;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/analysis/Analyzer.java b/src/java/org/apache/lucene/analysis/Analyzer.javaindex 71217ec408f..04efca83f58 100644--- a/src/java/org/apache/lucene/analysis/Analyzer.java+++ b/src/java/org/apache/lucene/analysis/Analyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/CharTokenizer.java b/src/java/org/apache/lucene/analysis/CharTokenizer.javaindex a271a0b76dc..f543f70ba3c 100644--- a/src/java/org/apache/lucene/analysis/CharTokenizer.java+++ b/src/java/org/apache/lucene/analysis/CharTokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/LetterTokenizer.java b/src/java/org/apache/lucene/analysis/LetterTokenizer.javaindex c7a0369f23f..0d1d5981cc0 100644--- a/src/java/org/apache/lucene/analysis/LetterTokenizer.java+++ b/src/java/org/apache/lucene/analysis/LetterTokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/LowerCaseFilter.java b/src/java/org/apache/lucene/analysis/LowerCaseFilter.javaindex c66e4d4333f..2e2afe69ac3 100644--- a/src/java/org/apache/lucene/analysis/LowerCaseFilter.java+++ b/src/java/org/apache/lucene/analysis/LowerCaseFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/LowerCaseTokenizer.java b/src/java/org/apache/lucene/analysis/LowerCaseTokenizer.javaindex b50a28c7e8c..4b0f2b6e9ea 100644--- a/src/java/org/apache/lucene/analysis/LowerCaseTokenizer.java+++ b/src/java/org/apache/lucene/analysis/LowerCaseTokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.java b/src/java/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.javaindex 16ad782de08..1dd6045e210 100644--- a/src/java/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.java+++ b/src/java/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/PorterStemFilter.java b/src/java/org/apache/lucene/analysis/PorterStemFilter.javaindex 6007c4a19b2..02b9b8530d7 100644--- a/src/java/org/apache/lucene/analysis/PorterStemFilter.java+++ b/src/java/org/apache/lucene/analysis/PorterStemFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/PorterStemmer.java b/src/java/org/apache/lucene/analysis/PorterStemmer.javaindex 37e6498b268..3b4c790c93b 100644--- a/src/java/org/apache/lucene/analysis/PorterStemmer.java+++ b/src/java/org/apache/lucene/analysis/PorterStemmer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//*diff --git a/src/java/org/apache/lucene/analysis/SimpleAnalyzer.java b/src/java/org/apache/lucene/analysis/SimpleAnalyzer.javaindex 9a7c74303b2..44a673f645b 100644--- a/src/java/org/apache/lucene/analysis/SimpleAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/SimpleAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/StopAnalyzer.java b/src/java/org/apache/lucene/analysis/StopAnalyzer.javaindex 3c25c944d8a..9da959af7e1 100644--- a/src/java/org/apache/lucene/analysis/StopAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/StopAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/StopFilter.java b/src/java/org/apache/lucene/analysis/StopFilter.javaindex c5313899d39..4a635d3f6c7 100644--- a/src/java/org/apache/lucene/analysis/StopFilter.java+++ b/src/java/org/apache/lucene/analysis/StopFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/Token.java b/src/java/org/apache/lucene/analysis/Token.javaindex cff0398a416..d510c08dc32 100644--- a/src/java/org/apache/lucene/analysis/Token.java+++ b/src/java/org/apache/lucene/analysis/Token.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** A Token is an occurence of a term from the text of a field. It consists ofdiff --git a/src/java/org/apache/lucene/analysis/TokenFilter.java b/src/java/org/apache/lucene/analysis/TokenFilter.javaindex eba4b885dc7..65211cf56c3 100644--- a/src/java/org/apache/lucene/analysis/TokenFilter.java+++ b/src/java/org/apache/lucene/analysis/TokenFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/TokenStream.java b/src/java/org/apache/lucene/analysis/TokenStream.javaindex d52ad92c754..fc8562c9387 100644--- a/src/java/org/apache/lucene/analysis/TokenStream.java+++ b/src/java/org/apache/lucene/analysis/TokenStream.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/Tokenizer.java b/src/java/org/apache/lucene/analysis/Tokenizer.javaindex cc8bbeeadcf..aa112bc2e69 100644--- a/src/java/org/apache/lucene/analysis/Tokenizer.java+++ b/src/java/org/apache/lucene/analysis/Tokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/WhitespaceAnalyzer.java b/src/java/org/apache/lucene/analysis/WhitespaceAnalyzer.javaindex 0bfb73346a7..bb649ab2a3b 100644--- a/src/java/org/apache/lucene/analysis/WhitespaceAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/WhitespaceAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/WhitespaceTokenizer.java b/src/java/org/apache/lucene/analysis/WhitespaceTokenizer.javaindex 7a3c6473f70..9eac533b0d1 100644--- a/src/java/org/apache/lucene/analysis/WhitespaceTokenizer.java+++ b/src/java/org/apache/lucene/analysis/WhitespaceTokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java b/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.javaindex 56a257215be..39a1fb15ff8 100644--- a/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.de;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/de/GermanStemFilter.java b/src/java/org/apache/lucene/analysis/de/GermanStemFilter.javaindex 377e382a228..36dfdb26d0f 100644--- a/src/java/org/apache/lucene/analysis/de/GermanStemFilter.java+++ b/src/java/org/apache/lucene/analysis/de/GermanStemFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.de;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Token;diff --git a/src/java/org/apache/lucene/analysis/de/GermanStemmer.java b/src/java/org/apache/lucene/analysis/de/GermanStemmer.javaindex dd4ec0b2ac2..8e9e171f78f 100644--- a/src/java/org/apache/lucene/analysis/de/GermanStemmer.java+++ b/src/java/org/apache/lucene/analysis/de/GermanStemmer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.de;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/analysis/de/WordlistLoader.java b/src/java/org/apache/lucene/analysis/de/WordlistLoader.javaindex 0fe68dc1fa1..a39ae1e6066 100644--- a/src/java/org/apache/lucene/analysis/de/WordlistLoader.java+++ b/src/java/org/apache/lucene/analysis/de/WordlistLoader.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.de;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java b/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.javaindex 1852ec4ddde..8e3ae6ae23a 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/analysis/ru/RussianCharsets.java b/src/java/org/apache/lucene/analysis/ru/RussianCharsets.javaindex f907409ed0d..e1305b0b8c6 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianCharsets.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianCharsets.java@@ -1,56 +1,18 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/analysis/ru/RussianLetterTokenizer.java b/src/java/org/apache/lucene/analysis/ru/RussianLetterTokenizer.javaindex 9405bddd75c..484b09b9bf9 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianLetterTokenizer.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianLetterTokenizer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/analysis/ru/RussianLowerCaseFilter.java b/src/java/org/apache/lucene/analysis/ru/RussianLowerCaseFilter.javaindex b269bd72d4c..79f273aab16 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianLowerCaseFilter.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianLowerCaseFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.TokenFilter;diff --git a/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.java b/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.javaindex b9ad2175b36..597fe1d7073 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Token;diff --git a/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java b/src/java/org/apache/lucene/analysis/ru/RussianStemmer.javaindex 73f3d97fcf9..a6769470941 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/analysis/standard/FastCharStream.java b/src/java/org/apache/lucene/analysis/standard/FastCharStream.javaindex f9bcc717223..b94bab722b2 100644--- a/src/java/org/apache/lucene/analysis/standard/FastCharStream.java+++ b/src/java/org/apache/lucene/analysis/standard/FastCharStream.java@@ -1,58 +1,20 @@// FastCharStream.javapackage org.apache.lucene.analysis.standard;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java b/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.javaindex 2250917cc6a..3976a6fc490 100644--- a/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.standard;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/analysis/standard/StandardFilter.java b/src/java/org/apache/lucene/analysis/standard/StandardFilter.javaindex ecb354cc68d..2d8c29116dd 100644--- a/src/java/org/apache/lucene/analysis/standard/StandardFilter.java+++ b/src/java/org/apache/lucene/analysis/standard/StandardFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.standard;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/document/DateField.java b/src/java/org/apache/lucene/document/DateField.javaindex f917cfe354f..c811d56f39f 100644--- a/src/java/org/apache/lucene/document/DateField.java+++ b/src/java/org/apache/lucene/document/DateField.java@@ -1,57 +1,19 @@package org.apache.lucene.document;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Date;diff --git a/src/java/org/apache/lucene/document/Document.java b/src/java/org/apache/lucene/document/Document.javaindex bc9c35a2504..e7a7ed76666 100644--- a/src/java/org/apache/lucene/document/Document.java+++ b/src/java/org/apache/lucene/document/Document.java@@ -1,57 +1,19 @@package org.apache.lucene.document;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Enumeration;diff --git a/src/java/org/apache/lucene/document/Field.java b/src/java/org/apache/lucene/document/Field.javaindex 585028dcbc8..05183d04509 100644--- a/src/java/org/apache/lucene/document/Field.java+++ b/src/java/org/apache/lucene/document/Field.java@@ -1,57 +1,19 @@package org.apache.lucene.document;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Reader;diff --git a/src/java/org/apache/lucene/index/CompoundFileReader.java b/src/java/org/apache/lucene/index/CompoundFileReader.javaindex b1c10febf09..72cee28f058 100644--- a/src/java/org/apache/lucene/index/CompoundFileReader.java+++ b/src/java/org/apache/lucene/index/CompoundFileReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.Directory;diff --git a/src/java/org/apache/lucene/index/CompoundFileWriter.java b/src/java/org/apache/lucene/index/CompoundFileWriter.javaindex e6d5828f871..cf14c15e15d 100644--- a/src/java/org/apache/lucene/index/CompoundFileWriter.java+++ b/src/java/org/apache/lucene/index/CompoundFileWriter.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.Directory;diff --git a/src/java/org/apache/lucene/index/DocumentWriter.java b/src/java/org/apache/lucene/index/DocumentWriter.javaindex 363824ce7bb..4ea68330ab8 100644--- a/src/java/org/apache/lucene/index/DocumentWriter.java+++ b/src/java/org/apache/lucene/index/DocumentWriter.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/FieldInfo.java b/src/java/org/apache/lucene/index/FieldInfo.javaindex a6865cc60b2..47102c9be69 100644--- a/src/java/org/apache/lucene/index/FieldInfo.java+++ b/src/java/org/apache/lucene/index/FieldInfo.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*/final class FieldInfo {diff --git a/src/java/org/apache/lucene/index/FieldInfos.java b/src/java/org/apache/lucene/index/FieldInfos.javaindex b54439a2ec1..d290dab1002 100644--- a/src/java/org/apache/lucene/index/FieldInfos.java+++ b/src/java/org/apache/lucene/index/FieldInfos.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/index/FieldsReader.java b/src/java/org/apache/lucene/index/FieldsReader.javaindex 91408468d93..025ff038f0a 100644--- a/src/java/org/apache/lucene/index/FieldsReader.java+++ b/src/java/org/apache/lucene/index/FieldsReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/FieldsWriter.java b/src/java/org/apache/lucene/index/FieldsWriter.javaindex a36d652a614..9cef98eba02 100644--- a/src/java/org/apache/lucene/index/FieldsWriter.java+++ b/src/java/org/apache/lucene/index/FieldsWriter.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Enumeration;diff --git a/src/java/org/apache/lucene/index/FilterIndexReader.java b/src/java/org/apache/lucene/index/FilterIndexReader.javaindex 25e9aa109af..fdf23765847 100644--- a/src/java/org/apache/lucene/index/FilterIndexReader.java+++ b/src/java/org/apache/lucene/index/FilterIndexReader.java@@ -1,56 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2003 The Apache Software Foundation. All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.javaindex e6dee203d5a..3182debf6ea 100644--- a/src/java/org/apache/lucene/index/IndexReader.java+++ b/src/java/org/apache/lucene/index/IndexReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2002, 2003 The Apache Software Foundation.- * All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/MultiReader.java b/src/java/org/apache/lucene/index/MultiReader.javaindex b0546610c7f..ce4a9e7bbac 100644--- a/src/java/org/apache/lucene/index/MultiReader.java+++ b/src/java/org/apache/lucene/index/MultiReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2002, 2003 The Apache Software Foundation.- * All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/MultipleTermPositions.java b/src/java/org/apache/lucene/index/MultipleTermPositions.javaindex 16c51c35c4a..e4c52d050c4 100644--- a/src/java/org/apache/lucene/index/MultipleTermPositions.java+++ b/src/java/org/apache/lucene/index/MultipleTermPositions.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentInfo.java b/src/java/org/apache/lucene/index/SegmentInfo.javaindex b3f488aeb31..70d9aa2b487 100644--- a/src/java/org/apache/lucene/index/SegmentInfo.java+++ b/src/java/org/apache/lucene/index/SegmentInfo.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.Directory;diff --git a/src/java/org/apache/lucene/index/SegmentInfos.java b/src/java/org/apache/lucene/index/SegmentInfos.javaindex faa7decd038..93410fd9638 100644--- a/src/java/org/apache/lucene/index/SegmentInfos.java+++ b/src/java/org/apache/lucene/index/SegmentInfos.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Vector;diff --git a/src/java/org/apache/lucene/index/SegmentMergeInfo.java b/src/java/org/apache/lucene/index/SegmentMergeInfo.javaindex c6bcb53ee0b..debc97aa17f 100644--- a/src/java/org/apache/lucene/index/SegmentMergeInfo.java+++ b/src/java/org/apache/lucene/index/SegmentMergeInfo.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentMergeQueue.java b/src/java/org/apache/lucene/index/SegmentMergeQueue.javaindex 044e10beb39..d6196f42d5d 100644--- a/src/java/org/apache/lucene/index/SegmentMergeQueue.java+++ b/src/java/org/apache/lucene/index/SegmentMergeQueue.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentMerger.java b/src/java/org/apache/lucene/index/SegmentMerger.javaindex a26fe2eeb70..a94fa39100c 100644--- a/src/java/org/apache/lucene/index/SegmentMerger.java+++ b/src/java/org/apache/lucene/index/SegmentMerger.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Vector;diff --git a/src/java/org/apache/lucene/index/SegmentReader.java b/src/java/org/apache/lucene/index/SegmentReader.javaindex 1a188c4849e..305e57afd8f 100644--- a/src/java/org/apache/lucene/index/SegmentReader.java+++ b/src/java/org/apache/lucene/index/SegmentReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentTermDocs.java b/src/java/org/apache/lucene/index/SegmentTermDocs.javaindex a9495734c18..4d70e0cdfb6 100644--- a/src/java/org/apache/lucene/index/SegmentTermDocs.java+++ b/src/java/org/apache/lucene/index/SegmentTermDocs.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentTermEnum.java b/src/java/org/apache/lucene/index/SegmentTermEnum.javaindex 88cde1cc251..b43d959026c 100644--- a/src/java/org/apache/lucene/index/SegmentTermEnum.java+++ b/src/java/org/apache/lucene/index/SegmentTermEnum.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/SegmentTermPositions.java b/src/java/org/apache/lucene/index/SegmentTermPositions.javaindex f062e1f467f..a3deb2846a4 100644--- a/src/java/org/apache/lucene/index/SegmentTermPositions.java+++ b/src/java/org/apache/lucene/index/SegmentTermPositions.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/Term.java b/src/java/org/apache/lucene/index/Term.javaindex d6d3f422048..298f5c65c54 100644--- a/src/java/org/apache/lucene/index/Term.java+++ b/src/java/org/apache/lucene/index/Term.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/index/TermDocs.java b/src/java/org/apache/lucene/index/TermDocs.javaindex acb430cd51c..06919c1da58 100644--- a/src/java/org/apache/lucene/index/TermDocs.java+++ b/src/java/org/apache/lucene/index/TermDocs.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/TermEnum.java b/src/java/org/apache/lucene/index/TermEnum.javaindex 726f952c25f..f2d1926ad18 100644--- a/src/java/org/apache/lucene/index/TermEnum.java+++ b/src/java/org/apache/lucene/index/TermEnum.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/TermInfo.java b/src/java/org/apache/lucene/index/TermInfo.javaindex f13a9b7c6e1..edc81211242 100644--- a/src/java/org/apache/lucene/index/TermInfo.java+++ b/src/java/org/apache/lucene/index/TermInfo.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** A TermInfo is the record of information stored for a term.*/diff --git a/src/java/org/apache/lucene/index/TermInfosReader.java b/src/java/org/apache/lucene/index/TermInfosReader.javaindex 5393d55974e..1a6fe1941f8 100644--- a/src/java/org/apache/lucene/index/TermInfosReader.java+++ b/src/java/org/apache/lucene/index/TermInfosReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/index/TermPositions.java b/src/java/org/apache/lucene/index/TermPositions.javaindex aa8e2505cc8..64f0538e48c 100644--- a/src/java/org/apache/lucene/index/TermPositions.java+++ b/src/java/org/apache/lucene/index/TermPositions.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/queryParser/FastCharStream.java b/src/java/org/apache/lucene/queryParser/FastCharStream.javaindex 7fc852d71b3..199ff461da1 100644--- a/src/java/org/apache/lucene/queryParser/FastCharStream.java+++ b/src/java/org/apache/lucene/queryParser/FastCharStream.java@@ -1,58 +1,20 @@// FastCharStream.javapackage org.apache.lucene.queryParser;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java b/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.javaindex ad98d2a1d07..229efc1fd3e 100644--- a/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java+++ b/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java@@ -1,57 +1,19 @@package org.apache.lucene.queryParser;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation"- * must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/BooleanClause.java b/src/java/org/apache/lucene/search/BooleanClause.javaindex a33d1f82468..71add59ebac 100644--- a/src/java/org/apache/lucene/search/BooleanClause.java+++ b/src/java/org/apache/lucene/search/BooleanClause.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** A clause in a BooleanQuery. */diff --git a/src/java/org/apache/lucene/search/BooleanQuery.java b/src/java/org/apache/lucene/search/BooleanQuery.javaindex eabc78137ae..94f059dbbb2 100644--- a/src/java/org/apache/lucene/search/BooleanQuery.java+++ b/src/java/org/apache/lucene/search/BooleanQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/BooleanScorer.java b/src/java/org/apache/lucene/search/BooleanScorer.javaindex fb1f0338ca7..06ddebb965d 100644--- a/src/java/org/apache/lucene/search/BooleanScorer.java+++ b/src/java/org/apache/lucene/search/BooleanScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/CachingWrapperFilter.java b/src/java/org/apache/lucene/search/CachingWrapperFilter.javaindex d6f6d5f268a..a59a91ac6bd 100644--- a/src/java/org/apache/lucene/search/CachingWrapperFilter.java+++ b/src/java/org/apache/lucene/search/CachingWrapperFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.IndexReader;diff --git a/src/java/org/apache/lucene/search/ConjunctionScorer.java b/src/java/org/apache/lucene/search/ConjunctionScorer.javaindex 57faf0982f0..64f4994513f 100644--- a/src/java/org/apache/lucene/search/ConjunctionScorer.java+++ b/src/java/org/apache/lucene/search/ConjunctionScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2004 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/DateFilter.java b/src/java/org/apache/lucene/search/DateFilter.javaindex 385305296c7..12528fbbed3 100644--- a/src/java/org/apache/lucene/search/DateFilter.java+++ b/src/java/org/apache/lucene/search/DateFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.BitSet;diff --git a/src/java/org/apache/lucene/search/DefaultSimilarity.java b/src/java/org/apache/lucene/search/DefaultSimilarity.javaindex ba04386327d..4725ff9a807 100644--- a/src/java/org/apache/lucene/search/DefaultSimilarity.java+++ b/src/java/org/apache/lucene/search/DefaultSimilarity.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** Expert: Default scoring implementation. */diff --git a/src/java/org/apache/lucene/search/ExactPhraseScorer.java b/src/java/org/apache/lucene/search/ExactPhraseScorer.javaindex 3c2facc3da4..8a5145d4d2b 100644--- a/src/java/org/apache/lucene/search/ExactPhraseScorer.java+++ b/src/java/org/apache/lucene/search/ExactPhraseScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/Explanation.java b/src/java/org/apache/lucene/search/Explanation.javaindex 12226f69e69..93ebd03d9c0 100644--- a/src/java/org/apache/lucene/search/Explanation.java+++ b/src/java/org/apache/lucene/search/Explanation.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2003 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.ArrayList;diff --git a/src/java/org/apache/lucene/search/Filter.java b/src/java/org/apache/lucene/search/Filter.javaindex c6fdfe8a769..74a2f13fe02 100644--- a/src/java/org/apache/lucene/search/Filter.java+++ b/src/java/org/apache/lucene/search/Filter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.BitSet;diff --git a/src/java/org/apache/lucene/search/FilteredTermEnum.java b/src/java/org/apache/lucene/search/FilteredTermEnum.javaindex 111c4a79d9b..866996c0a2b 100644--- a/src/java/org/apache/lucene/search/FilteredTermEnum.java+++ b/src/java/org/apache/lucene/search/FilteredTermEnum.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/FuzzyQuery.java b/src/java/org/apache/lucene/search/FuzzyQuery.javaindex 96dbb1f7b9f..a318a5c6c41 100644--- a/src/java/org/apache/lucene/search/FuzzyQuery.java+++ b/src/java/org/apache/lucene/search/FuzzyQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.IndexReader;diff --git a/src/java/org/apache/lucene/search/FuzzyTermEnum.java b/src/java/org/apache/lucene/search/FuzzyTermEnum.javaindex cfb4e76f150..7cacca22b00 100644--- a/src/java/org/apache/lucene/search/FuzzyTermEnum.java+++ b/src/java/org/apache/lucene/search/FuzzyTermEnum.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/HitCollector.java b/src/java/org/apache/lucene/search/HitCollector.javaindex 9521bd0a987..eaa7f1c784f 100644--- a/src/java/org/apache/lucene/search/HitCollector.java+++ b/src/java/org/apache/lucene/search/HitCollector.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** Lower-level search API.diff --git a/src/java/org/apache/lucene/search/HitQueue.java b/src/java/org/apache/lucene/search/HitQueue.javaindex 12b02cf39f7..2021ad121b2 100644--- a/src/java/org/apache/lucene/search/HitQueue.java+++ b/src/java/org/apache/lucene/search/HitQueue.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.util.PriorityQueue;diff --git a/src/java/org/apache/lucene/search/Hits.java b/src/java/org/apache/lucene/search/Hits.javaindex d6c0e5e3690..17e50cb40dc 100644--- a/src/java/org/apache/lucene/search/Hits.java+++ b/src/java/org/apache/lucene/search/Hits.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/IndexSearcher.java b/src/java/org/apache/lucene/search/IndexSearcher.javaindex d4df87e9845..0bc21f3be69 100644--- a/src/java/org/apache/lucene/search/IndexSearcher.java+++ b/src/java/org/apache/lucene/search/IndexSearcher.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/MultiSearcher.java b/src/java/org/apache/lucene/search/MultiSearcher.javaindex 0297f2b4c3c..dc1cc803108 100644--- a/src/java/org/apache/lucene/search/MultiSearcher.java+++ b/src/java/org/apache/lucene/search/MultiSearcher.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/MultiTermQuery.java b/src/java/org/apache/lucene/search/MultiTermQuery.javaindex 0b66ec1344d..f0980053123 100644--- a/src/java/org/apache/lucene/search/MultiTermQuery.java+++ b/src/java/org/apache/lucene/search/MultiTermQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/ParallelMultiSearcher.java b/src/java/org/apache/lucene/search/ParallelMultiSearcher.javaindex 7994381930d..7787ef24ce9 100644--- a/src/java/org/apache/lucene/search/ParallelMultiSearcher.java+++ b/src/java/org/apache/lucene/search/ParallelMultiSearcher.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2004 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/PhrasePositions.java b/src/java/org/apache/lucene/search/PhrasePositions.javaindex 41c8b961da1..e035e7b82d6 100644--- a/src/java/org/apache/lucene/search/PhrasePositions.java+++ b/src/java/org/apache/lucene/search/PhrasePositions.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java b/src/java/org/apache/lucene/search/PhrasePrefixQuery.javaindex 3d867b2a4c8..345cb385c23 100644--- a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java+++ b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/PhraseQuery.java b/src/java/org/apache/lucene/search/PhraseQuery.javaindex 963138b73ca..d0e40da59d5 100644--- a/src/java/org/apache/lucene/search/PhraseQuery.java+++ b/src/java/org/apache/lucene/search/PhraseQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/PhraseQueue.java b/src/java/org/apache/lucene/search/PhraseQueue.javaindex 9f093ee538b..1c2e99e4741 100644--- a/src/java/org/apache/lucene/search/PhraseQueue.java+++ b/src/java/org/apache/lucene/search/PhraseQueue.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.util.PriorityQueue;diff --git a/src/java/org/apache/lucene/search/PhraseScorer.java b/src/java/org/apache/lucene/search/PhraseScorer.javaindex e755f1ad779..6e3503f7e5c 100644--- a/src/java/org/apache/lucene/search/PhraseScorer.java+++ b/src/java/org/apache/lucene/search/PhraseScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/PrefixQuery.java b/src/java/org/apache/lucene/search/PrefixQuery.javaindex c0aaffbff85..c48d1ff2142 100644--- a/src/java/org/apache/lucene/search/PrefixQuery.java+++ b/src/java/org/apache/lucene/search/PrefixQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/QueryFilter.java b/src/java/org/apache/lucene/search/QueryFilter.javaindex 07950179047..354aeb9804b 100644--- a/src/java/org/apache/lucene/search/QueryFilter.java+++ b/src/java/org/apache/lucene/search/QueryFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/QueryTermVector.java b/src/java/org/apache/lucene/search/QueryTermVector.javaindex 6d3f293ab87..ec32e98641f 100644--- a/src/java/org/apache/lucene/search/QueryTermVector.java+++ b/src/java/org/apache/lucene/search/QueryTermVector.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/RangeQuery.java b/src/java/org/apache/lucene/search/RangeQuery.javaindex 8e67b72effb..65d99ba537d 100644--- a/src/java/org/apache/lucene/search/RangeQuery.java+++ b/src/java/org/apache/lucene/search/RangeQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/RemoteSearchable.java b/src/java/org/apache/lucene/search/RemoteSearchable.javaindex 2bcd6532565..1e3e974ba1f 100644--- a/src/java/org/apache/lucene/search/RemoteSearchable.java+++ b/src/java/org/apache/lucene/search/RemoteSearchable.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/ScoreDoc.java b/src/java/org/apache/lucene/search/ScoreDoc.javaindex 3b6747f0499..f3925c39503 100644--- a/src/java/org/apache/lucene/search/ScoreDoc.java+++ b/src/java/org/apache/lucene/search/ScoreDoc.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** Expert: Returned by low-level search implementations.diff --git a/src/java/org/apache/lucene/search/Scorer.java b/src/java/org/apache/lucene/search/Scorer.javaindex 0117f91e2b9..25beaaac137 100644--- a/src/java/org/apache/lucene/search/Scorer.java+++ b/src/java/org/apache/lucene/search/Scorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/Searchable.java b/src/java/org/apache/lucene/search/Searchable.javaindex 0558c7d1a7a..d36ed4bd0e1 100644--- a/src/java/org/apache/lucene/search/Searchable.java+++ b/src/java/org/apache/lucene/search/Searchable.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/Searcher.java b/src/java/org/apache/lucene/search/Searcher.javaindex 78bb433d977..a1f450234c1 100644--- a/src/java/org/apache/lucene/search/Searcher.java+++ b/src/java/org/apache/lucene/search/Searcher.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/Similarity.java b/src/java/org/apache/lucene/search/Similarity.javaindex b918613d7eb..620678f7b2c 100644--- a/src/java/org/apache/lucene/search/Similarity.java+++ b/src/java/org/apache/lucene/search/Similarity.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/SloppyPhraseScorer.java b/src/java/org/apache/lucene/search/SloppyPhraseScorer.javaindex eea02607c2f..543970c20dd 100644--- a/src/java/org/apache/lucene/search/SloppyPhraseScorer.java+++ b/src/java/org/apache/lucene/search/SloppyPhraseScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.TermPositions;diff --git a/src/java/org/apache/lucene/search/TermQuery.java b/src/java/org/apache/lucene/search/TermQuery.javaindex 635dba22c07..6ff9b2994a7 100644--- a/src/java/org/apache/lucene/search/TermQuery.java+++ b/src/java/org/apache/lucene/search/TermQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/TermScorer.java b/src/java/org/apache/lucene/search/TermScorer.javaindex 3260b02acb5..7fcd1b748cd 100644--- a/src/java/org/apache/lucene/search/TermScorer.java+++ b/src/java/org/apache/lucene/search/TermScorer.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/TopDocs.java b/src/java/org/apache/lucene/search/TopDocs.javaindex 336d698a6fc..253afe6423a 100644--- a/src/java/org/apache/lucene/search/TopDocs.java+++ b/src/java/org/apache/lucene/search/TopDocs.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** Expert: Returned by low-level search implementations.diff --git a/src/java/org/apache/lucene/search/Weight.java b/src/java/org/apache/lucene/search/Weight.javaindex 9784a277502..958cd722d8c 100644--- a/src/java/org/apache/lucene/search/Weight.java+++ b/src/java/org/apache/lucene/search/Weight.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2003 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/search/WildcardQuery.java b/src/java/org/apache/lucene/search/WildcardQuery.javaindex f3418438dd7..80e3865b0e1 100644--- a/src/java/org/apache/lucene/search/WildcardQuery.java+++ b/src/java/org/apache/lucene/search/WildcardQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.IndexReader;diff --git a/src/java/org/apache/lucene/search/WildcardTermEnum.java b/src/java/org/apache/lucene/search/WildcardTermEnum.javaindex e9c9048de7e..e744b146edf 100644--- a/src/java/org/apache/lucene/search/WildcardTermEnum.java+++ b/src/java/org/apache/lucene/search/WildcardTermEnum.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/Directory.java b/src/java/org/apache/lucene/store/Directory.javaindex 6f811ae1cff..b51a9402671 100644--- a/src/java/org/apache/lucene/store/Directory.java+++ b/src/java/org/apache/lucene/store/Directory.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/FSDirectory.java b/src/java/org/apache/lucene/store/FSDirectory.javaindex 3288974b3c4..8e0a2fe5d26 100644--- a/src/java/org/apache/lucene/store/FSDirectory.java+++ b/src/java/org/apache/lucene/store/FSDirectory.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001, 2003 The Apache Software Foundation. All- * rights reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/InputStream.java b/src/java/org/apache/lucene/store/InputStream.javaindex e05c2a25117..0bdab03e084 100644--- a/src/java/org/apache/lucene/store/InputStream.java+++ b/src/java/org/apache/lucene/store/InputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/Lock.java b/src/java/org/apache/lucene/store/Lock.javaindex 3e56bce09f1..fd5c98b743b 100644--- a/src/java/org/apache/lucene/store/Lock.java+++ b/src/java/org/apache/lucene/store/Lock.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.IndexWriter;diff --git a/src/java/org/apache/lucene/store/OutputStream.java b/src/java/org/apache/lucene/store/OutputStream.javaindex 46a18da055f..c3e2017afbd 100644--- a/src/java/org/apache/lucene/store/OutputStream.java+++ b/src/java/org/apache/lucene/store/OutputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/RAMDirectory.java b/src/java/org/apache/lucene/store/RAMDirectory.javaindex c0d7c1029de..0832bf7201d 100644--- a/src/java/org/apache/lucene/store/RAMDirectory.java+++ b/src/java/org/apache/lucene/store/RAMDirectory.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/store/RAMFile.java b/src/java/org/apache/lucene/store/RAMFile.javaindex c151e63c349..254b6fa75a6 100644--- a/src/java/org/apache/lucene/store/RAMFile.java+++ b/src/java/org/apache/lucene/store/RAMFile.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2004 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Vector;diff --git a/src/java/org/apache/lucene/store/RAMInputStream.java b/src/java/org/apache/lucene/store/RAMInputStream.javaindex b6038b68e46..504ff015945 100644--- a/src/java/org/apache/lucene/store/RAMInputStream.java+++ b/src/java/org/apache/lucene/store/RAMInputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001, 2004 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/store/RAMOutputStream.java b/src/java/org/apache/lucene/store/RAMOutputStream.javaindex 7d4c5d5375e..63c17423328 100644--- a/src/java/org/apache/lucene/store/RAMOutputStream.java+++ b/src/java/org/apache/lucene/store/RAMOutputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.store;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001, 2004 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/util/BitVector.java b/src/java/org/apache/lucene/util/BitVector.javaindex 828486294c0..2b9773f2fc3 100644--- a/src/java/org/apache/lucene/util/BitVector.java+++ b/src/java/org/apache/lucene/util/BitVector.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/java/org/apache/lucene/util/Constants.java b/src/java/org/apache/lucene/util/Constants.javaindex 243f2edaed4..5ee313b11c0 100644--- a/src/java/org/apache/lucene/util/Constants.java+++ b/src/java/org/apache/lucene/util/Constants.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/java/org/apache/lucene/util/PriorityQueue.java b/src/java/org/apache/lucene/util/PriorityQueue.javaindex 59ed66b3589..9918b4f6720 100644--- a/src/java/org/apache/lucene/util/PriorityQueue.java+++ b/src/java/org/apache/lucene/util/PriorityQueue.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//** A PriorityQueue maintains a partial ordering of its elements such that thediff --git a/src/test/org/apache/lucene/AnalysisTest.java b/src/test/org/apache/lucene/AnalysisTest.javaindex 1daec152d29..6f3d0428b01 100644--- a/src/test/org/apache/lucene/AnalysisTest.java+++ b/src/test/org/apache/lucene/AnalysisTest.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.SimpleAnalyzer;diff --git a/src/test/org/apache/lucene/IndexTest.java b/src/test/org/apache/lucene/IndexTest.javaindex 9723a34a725..6ada730cd6b 100644--- a/src/test/org/apache/lucene/IndexTest.java+++ b/src/test/org/apache/lucene/IndexTest.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.SimpleAnalyzer;diff --git a/src/test/org/apache/lucene/SearchTest.java b/src/test/org/apache/lucene/SearchTest.javaindex dee78f190b1..f0cd5351e97 100644--- a/src/test/org/apache/lucene/SearchTest.java+++ b/src/test/org/apache/lucene/SearchTest.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.GregorianCalendar;diff --git a/src/test/org/apache/lucene/SearchTestForDuplicates.java b/src/test/org/apache/lucene/SearchTestForDuplicates.javaindex 8e14f7e2cf3..9196cce523c 100644--- a/src/test/org/apache/lucene/SearchTestForDuplicates.java+++ b/src/test/org/apache/lucene/SearchTestForDuplicates.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/test/org/apache/lucene/StoreTest.java b/src/test/org/apache/lucene/StoreTest.javaindex eab9b9cdd71..9b7c8341c25 100644--- a/src/test/org/apache/lucene/StoreTest.java+++ b/src/test/org/apache/lucene/StoreTest.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.Directory;diff --git a/src/test/org/apache/lucene/TestSearch.java b/src/test/org/apache/lucene/TestSearch.javaindex abbd8e16b4d..f4449754cdd 100644--- a/src/test/org/apache/lucene/TestSearch.java+++ b/src/test/org/apache/lucene/TestSearch.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.GregorianCalendar;diff --git a/src/test/org/apache/lucene/TestSearchForDuplicates.java b/src/test/org/apache/lucene/TestSearchForDuplicates.javaindex 949b5613d58..1e7538b8e7c 100644--- a/src/test/org/apache/lucene/TestSearchForDuplicates.java+++ b/src/test/org/apache/lucene/TestSearchForDuplicates.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/test/org/apache/lucene/ThreadSafetyTest.java b/src/test/org/apache/lucene/ThreadSafetyTest.javaindex d3638697495..23452efbc7c 100644--- a/src/test/org/apache/lucene/ThreadSafetyTest.java+++ b/src/test/org/apache/lucene/ThreadSafetyTest.java@@ -1,57 +1,19 @@package org.apache.lucene;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.util.*;diff --git a/src/test/org/apache/lucene/analysis/TestAnalyzers.java b/src/test/org/apache/lucene/analysis/TestAnalyzers.javaindex 0afd35475ca..dfdefe2406f 100644--- a/src/test/org/apache/lucene/analysis/TestAnalyzers.java+++ b/src/test/org/apache/lucene/analysis/TestAnalyzers.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*;diff --git a/src/test/org/apache/lucene/analysis/TestPerFieldAnalzyerWrapper.java b/src/test/org/apache/lucene/analysis/TestPerFieldAnalzyerWrapper.javaindex 460565ba4bc..81a80f12de2 100644--- a/src/test/org/apache/lucene/analysis/TestPerFieldAnalzyerWrapper.java+++ b/src/test/org/apache/lucene/analysis/TestPerFieldAnalzyerWrapper.java@@ -3,58 +3,20 @@ package org.apache.lucene.analysis;import junit.framework.TestCase;import java.io.StringReader;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*/public class TestPerFieldAnalzyerWrapper extends TestCase {diff --git a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.javaindex 87c60fbc47e..a5e3f629274 100644--- a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java+++ b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java b/src/test/org/apache/lucene/analysis/ru/TestRussianStem.javaindex aa2434f0821..000df7a08c6 100644--- a/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java+++ b/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java@@ -1,57 +1,19 @@package org.apache.lucene.analysis.ru;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/document/TestDocument.java b/src/test/org/apache/lucene/document/TestDocument.javaindex 68332fa2a58..7cc2e7c4a8d 100644--- a/src/test/org/apache/lucene/document/TestDocument.java+++ b/src/test/org/apache/lucene/document/TestDocument.java@@ -16,58 +16,20 @@ import org.apache.lucene.search.Hits;import java.io.IOException;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2003 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*//**diff --git a/src/test/org/apache/lucene/index/DocTest.java b/src/test/org/apache/lucene/index/DocTest.javaindex 5aee4eaabe6..240bf654d0f 100644--- a/src/test/org/apache/lucene/index/DocTest.java+++ b/src/test/org/apache/lucene/index/DocTest.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.SimpleAnalyzer;diff --git a/src/test/org/apache/lucene/index/MockInputStream.java b/src/test/org/apache/lucene/index/MockInputStream.javaindex 6288c3e15e6..a5069670fb7 100644--- a/src/test/org/apache/lucene/index/MockInputStream.java+++ b/src/test/org/apache/lucene/index/MockInputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.InputStream;diff --git a/src/test/org/apache/lucene/index/TermInfosTest.java b/src/test/org/apache/lucene/index/TermInfosTest.javaindex d619d40914b..4535e206e5b 100644--- a/src/test/org/apache/lucene/index/TermInfosTest.java+++ b/src/test/org/apache/lucene/index/TermInfosTest.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.store.Directory;diff --git a/src/test/org/apache/lucene/index/TestCompoundFile.java b/src/test/org/apache/lucene/index/TestCompoundFile.javaindex 5b0fc6c4bcb..ec1a2eb1847 100644--- a/src/test/org/apache/lucene/index/TestCompoundFile.java+++ b/src/test/org/apache/lucene/index/TestCompoundFile.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/test/org/apache/lucene/index/TestDoc.java b/src/test/org/apache/lucene/index/TestDoc.javaindex b86b7056e64..675b475ad03 100644--- a/src/test/org/apache/lucene/index/TestDoc.java+++ b/src/test/org/apache/lucene/index/TestDoc.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;import junit.framework.TestSuite;diff --git a/src/test/org/apache/lucene/index/TestDocumentWriter.java b/src/test/org/apache/lucene/index/TestDocumentWriter.javaindex f27b5fa524f..698c8ecac31 100644--- a/src/test/org/apache/lucene/index/TestDocumentWriter.java+++ b/src/test/org/apache/lucene/index/TestDocumentWriter.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;@@ -118,4 +80,4 @@ public class TestDocumentWriter extends TestCase {assertTrue(false);}}-}\ No newline at end of file+}diff --git a/src/test/org/apache/lucene/index/TestFieldsReader.java b/src/test/org/apache/lucene/index/TestFieldsReader.javaindex f52d5a4d541..cea9d941421 100644--- a/src/test/org/apache/lucene/index/TestFieldsReader.java+++ b/src/test/org/apache/lucene/index/TestFieldsReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;@@ -112,4 +74,4 @@ public class TestFieldsReader extends TestCase {assertTrue(false);}}-}\ No newline at end of file+}diff --git a/src/test/org/apache/lucene/index/TestFilterIndexReader.java b/src/test/org/apache/lucene/index/TestFilterIndexReader.javaindex c105cdb3c56..ccc4cb2ed35 100644--- a/src/test/org/apache/lucene/index/TestFilterIndexReader.java+++ b/src/test/org/apache/lucene/index/TestFilterIndexReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2002, 2003 The Apache Software Foundation.- * All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*/diff --git a/src/test/org/apache/lucene/index/TestIndexReader.java b/src/test/org/apache/lucene/index/TestIndexReader.javaindex 2f191b61e23..164f172e0b8 100644--- a/src/test/org/apache/lucene/index/TestIndexReader.java+++ b/src/test/org/apache/lucene/index/TestIndexReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2002, 2003 The Apache Software Foundation.- * All rights reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*/diff --git a/src/test/org/apache/lucene/index/TestInputStream.java b/src/test/org/apache/lucene/index/TestInputStream.javaindex 96a3df59c77..9fa6a9495f8 100644--- a/src/test/org/apache/lucene/index/TestInputStream.java+++ b/src/test/org/apache/lucene/index/TestInputStream.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/index/TestMultiReader.java b/src/test/org/apache/lucene/index/TestMultiReader.javaindex ef82f3957d5..2ec43e54189 100644--- a/src/test/org/apache/lucene/index/TestMultiReader.java+++ b/src/test/org/apache/lucene/index/TestMultiReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/index/TestSegmentMerger.java b/src/test/org/apache/lucene/index/TestSegmentMerger.javaindex 5f9c1d7f271..aaff8bca1e1 100644--- a/src/test/org/apache/lucene/index/TestSegmentMerger.java+++ b/src/test/org/apache/lucene/index/TestSegmentMerger.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/index/TestSegmentReader.java b/src/test/org/apache/lucene/index/TestSegmentReader.javaindex 6566e43c156..1e929c3972f 100644--- a/src/test/org/apache/lucene/index/TestSegmentReader.java+++ b/src/test/org/apache/lucene/index/TestSegmentReader.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/index/TestSegmentTermDocs.java b/src/test/org/apache/lucene/index/TestSegmentTermDocs.javaindex 68376d9224d..151e2a71b57 100644--- a/src/test/org/apache/lucene/index/TestSegmentTermDocs.java+++ b/src/test/org/apache/lucene/index/TestSegmentTermDocs.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;@@ -134,4 +96,4 @@ public class TestSegmentTermDocs extends TestCase {assertTrue(false);}}-}\ No newline at end of file+}diff --git a/src/test/org/apache/lucene/index/TestTermVectorsWriter.java b/src/test/org/apache/lucene/index/TestTermVectorsWriter.javaindex 0ee9b4d12fc..23184275e3c 100644--- a/src/test/org/apache/lucene/index/TestTermVectorsWriter.java+++ b/src/test/org/apache/lucene/index/TestTermVectorsWriter.java@@ -1,57 +1,19 @@package org.apache.lucene.index;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/MockFilter.java b/src/test/org/apache/lucene/search/MockFilter.javaindex 4e5b4b4db9c..5bdd5843e21 100644--- a/src/test/org/apache/lucene/search/MockFilter.java+++ b/src/test/org/apache/lucene/search/MockFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.IndexReader;diff --git a/src/test/org/apache/lucene/search/TestBasics.java b/src/test/org/apache/lucene/search/TestBasics.javaindex 4fb02045ac2..efeda13d78d 100644--- a/src/test/org/apache/lucene/search/TestBasics.java+++ b/src/test/org/apache/lucene/search/TestBasics.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001, 2004 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestBooleanPrefixQuery.java b/src/test/org/apache/lucene/search/TestBooleanPrefixQuery.javaindex 331d9effd2b..e11441215a6 100644--- a/src/test/org/apache/lucene/search/TestBooleanPrefixQuery.java+++ b/src/test/org/apache/lucene/search/TestBooleanPrefixQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestCachingWrapperFilter.java b/src/test/org/apache/lucene/search/TestCachingWrapperFilter.javaindex 39f5c72a405..9a76a8529f6 100644--- a/src/test/org/apache/lucene/search/TestCachingWrapperFilter.java+++ b/src/test/org/apache/lucene/search/TestCachingWrapperFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestDateFilter.java b/src/test/org/apache/lucene/search/TestDateFilter.javaindex fdc31bc4c09..c1a8df40339 100644--- a/src/test/org/apache/lucene/search/TestDateFilter.java+++ b/src/test/org/apache/lucene/search/TestDateFilter.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.Term;diff --git a/src/test/org/apache/lucene/search/TestDocBoost.java b/src/test/org/apache/lucene/search/TestDocBoost.javaindex 4ec14da6550..a3bb31541d6 100644--- a/src/test/org/apache/lucene/search/TestDocBoost.java+++ b/src/test/org/apache/lucene/search/TestDocBoost.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestNot.java b/src/test/org/apache/lucene/search/TestNot.javaindex 97790a9ad0e..87547b6614e 100644--- a/src/test/org/apache/lucene/search/TestNot.java+++ b/src/test/org/apache/lucene/search/TestNot.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestParallelMultiSearcher.java b/src/test/org/apache/lucene/search/TestParallelMultiSearcher.javaindex 2a4ea40937e..d06269d20cb 100644--- a/src/test/org/apache/lucene/search/TestParallelMultiSearcher.java+++ b/src/test/org/apache/lucene/search/TestParallelMultiSearcher.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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;diff --git a/src/test/org/apache/lucene/search/TestPhrasePrefixQuery.java b/src/test/org/apache/lucene/search/TestPhrasePrefixQuery.javaindex 915ad14e9e2..512f3de1937 100644--- a/src/test/org/apache/lucene/search/TestPhrasePrefixQuery.java+++ b/src/test/org/apache/lucene/search/TestPhrasePrefixQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.search.IndexSearcher;diff --git a/src/test/org/apache/lucene/search/TestPhraseQuery.java b/src/test/org/apache/lucene/search/TestPhraseQuery.javaindex be656011a18..ba9b657620a 100644--- a/src/test/org/apache/lucene/search/TestPhraseQuery.java+++ b/src/test/org/apache/lucene/search/TestPhraseQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestPositionIncrement.java b/src/test/org/apache/lucene/search/TestPositionIncrement.javaindex 9147aafbf57..5e78ac8f2c9 100644--- a/src/test/org/apache/lucene/search/TestPositionIncrement.java+++ b/src/test/org/apache/lucene/search/TestPositionIncrement.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.index.Term;diff --git a/src/test/org/apache/lucene/search/TestPrefixQuery.java b/src/test/org/apache/lucene/search/TestPrefixQuery.javaindex d5872e7e609..f6286008004 100644--- a/src/test/org/apache/lucene/search/TestPrefixQuery.java+++ b/src/test/org/apache/lucene/search/TestPrefixQuery.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestQueryTermVector.java b/src/test/org/apache/lucene/search/TestQueryTermVector.javaindex 2a874256f5d..e47274e6814 100644--- a/src/test/org/apache/lucene/search/TestQueryTermVector.java+++ b/src/test/org/apache/lucene/search/TestQueryTermVector.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;@@ -101,4 +63,4 @@ public class TestQueryTermVector extends TestCase {assertTrue(freq[i] == goldFreqs[i]);}}-}\ No newline at end of file+}diff --git a/src/test/org/apache/lucene/search/TestRemoteSearchable.java b/src/test/org/apache/lucene/search/TestRemoteSearchable.javaindex 47ac750f4da..8a1b8d177ea 100644--- a/src/test/org/apache/lucene/search/TestRemoteSearchable.java+++ b/src/test/org/apache/lucene/search/TestRemoteSearchable.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestSetNorm.java b/src/test/org/apache/lucene/search/TestSetNorm.javaindex 87e8eb90ab4..a11b52681f1 100644--- a/src/test/org/apache/lucene/search/TestSetNorm.java+++ b/src/test/org/apache/lucene/search/TestSetNorm.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestSimilarity.java b/src/test/org/apache/lucene/search/TestSimilarity.javaindex ab6ac20164a..72a04197d5d 100644--- a/src/test/org/apache/lucene/search/TestSimilarity.java+++ b/src/test/org/apache/lucene/search/TestSimilarity.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestTermVectors.java b/src/test/org/apache/lucene/search/TestTermVectors.javaindex 0bd29b3b3de..4b0590e6d03 100644--- a/src/test/org/apache/lucene/search/TestTermVectors.java+++ b/src/test/org/apache/lucene/search/TestTermVectors.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/search/TestWildcard.java b/src/test/org/apache/lucene/search/TestWildcard.javaindex e9fd15875db..499b8c02cb1 100644--- a/src/test/org/apache/lucene/search/TestWildcard.java+++ b/src/test/org/apache/lucene/search/TestWildcard.java@@ -1,57 +1,19 @@package org.apache.lucene.search;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001, 2002, 2003 The Apache Software Foundation. All- * rights reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.search.IndexSearcher;diff --git a/src/test/org/apache/lucene/util/English.java b/src/test/org/apache/lucene/util/English.javaindex 1072d54b394..a1d650df5bd 100644--- a/src/test/org/apache/lucene/util/English.java+++ b/src/test/org/apache/lucene/util/English.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001, 2004 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.*/diff --git a/src/test/org/apache/lucene/util/StringHelperTest.java b/src/test/org/apache/lucene/util/StringHelperTest.javaindex 4421daa28c3..d5e5d13fad3 100644--- a/src/test/org/apache/lucene/util/StringHelperTest.java+++ b/src/test/org/apache/lucene/util/StringHelperTest.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;@@ -85,4 +47,4 @@ public class StringHelperTest extends TestCase {result = StringHelper.stringDifference(test1, test2);assertTrue(result == 4);}-}\ No newline at end of file+}diff --git a/src/test/org/apache/lucene/util/TestBitVector.java b/src/test/org/apache/lucene/util/TestBitVector.javaindex b9d45a6b5d5..097129a3d74 100644--- a/src/test/org/apache/lucene/util/TestBitVector.java+++ b/src/test/org/apache/lucene/util/TestBitVector.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1- *- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.- *- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:- *- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].+/**+ * Copyright 2004 The Apache Software Foundation*- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of 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*- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================+ * http://www.apache.org/licenses/LICENSE-2.0*- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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 junit.framework.TestCase;diff --git a/src/test/org/apache/lucene/util/TestPriorityQueue.java b/src/test/org/apache/lucene/util/TestPriorityQueue.javaindex a06b820254f..5aee8c50c74 100644--- a/src/test/org/apache/lucene/util/TestPriorityQueue.java+++ b/src/test/org/apache/lucene/util/TestPriorityQueue.java@@ -1,57 +1,19 @@package org.apache.lucene.util;-/* ====================================================================- * The Apache Software License, Version 1.1+/**+ * Copyright 2004 The Apache Software Foundation*- * Copyright (c) 2001 The Apache Software Foundation. All rights- * reserved.+ * 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*- * Redistribution and use in source and binary forms, with or without- * modification, are permitted provided that the following conditions- * are met:+ * http://www.apache.org/licenses/LICENSE-2.0*- * 1. Redistributions of source code must retain the above copyright- * notice, this list of conditions and the following disclaimer.- *- * 2. Redistributions in binary form must reproduce the above copyright- * notice, this list of conditions and the following disclaimer in- * the documentation and/or other materials provided with the- * distribution.- *- * 3. The end-user documentation included with the redistribution,- * if any, must include the following acknowledgment:- * "This product includes software developed by the- * Apache Software Foundation (http://www.apache.org/)."- * Alternately, this acknowledgment may appear in the software itself,- * if and wherever such third-party acknowledgments normally appear.- *- * 4. The names "Apache" and "Apache Software Foundation" and- * "Apache Lucene" must not be used to endorse or promote products- * derived from this software without prior written permission. For- * written permission, please contact [email protected].- *- * 5. Products derived from this software may not be called "Apache",- * "Apache Lucene", nor may "Apache" appear in their name, without- * prior written permission of the Apache Software Foundation.- *- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF- * SUCH DAMAGE.- * ====================================================================- *- * This software consists of voluntary contributions made by many- * individuals on behalf of the Apache Software Foundation. For more- * information on the Apache Software Foundation, please see- * <http://www.apache.org/>.+ * 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.Date;