Apache Lucene open-source search software
Fixing Eclipse .classpath and adding license headers.
Dawid Weiss048959e80d0c
diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpathindex 77405969be1..63103467a73 100644--- a/dev-tools/eclipse/dot.classpath+++ b/dev-tools/eclipse/dot.classpath@@ -169,6 +169,6 @@<classpathentry kind="lib" path="solr/contrib/velocity/lib/commons-beanutils-1.7.0.jar"/><classpathentry kind="lib" path="solr/contrib/velocity/lib/commons-collections-3.2.1.jar"/><classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>- <classpathentry kind="lib" path="lucene/test-framework/lib/randomizedtesting-runner-1.0.0.jar"/>+ <classpathentry kind="lib" path="lucene/test-framework/lib/randomizedtesting-runner-1.1.0.jar"/><classpathentry kind="output" path="bin"/></classpath>diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnit3MethodProvider.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnit3MethodProvider.javaindex 79df358744b..6f3df6ba10e 100755--- a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnit3MethodProvider.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnit3MethodProvider.java@@ -1,5 +1,22 @@package org.apache.lucene.util;+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import static com.carrotsearch.randomizedtesting.MethodCollector.flatten;import static com.carrotsearch.randomizedtesting.MethodCollector.mutableCopy1;diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/NoStaticHooksShadowing.java b/lucene/test-framework/src/java/org/apache/lucene/util/NoStaticHooksShadowing.javaindex d2f8eb5f7fc..28ba26bf832 100755--- a/lucene/test-framework/src/java/org/apache/lucene/util/NoStaticHooksShadowing.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/NoStaticHooksShadowing.java@@ -1,5 +1,22 @@package org.apache.lucene.util;+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import static com.carrotsearch.randomizedtesting.MethodCollector.allDeclaredMethods;import static com.carrotsearch.randomizedtesting.MethodCollector.annotatedWith;import static com.carrotsearch.randomizedtesting.MethodCollector.flatten;diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/RandomNoSetSeed.java b/lucene/test-framework/src/java/org/apache/lucene/util/RandomNoSetSeed.javaindex ab338d1c286..813b9b37d69 100755--- a/lucene/test-framework/src/java/org/apache/lucene/util/RandomNoSetSeed.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/RandomNoSetSeed.java@@ -1,5 +1,22 @@package org.apache.lucene.util;+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import java.util.Random;/**diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/RequireAssertions.java b/lucene/test-framework/src/java/org/apache/lucene/util/RequireAssertions.javaindex 6cce0499b82..f7be627e02d 100755--- a/lucene/test-framework/src/java/org/apache/lucene/util/RequireAssertions.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/RequireAssertions.java@@ -1,5 +1,22 @@package org.apache.lucene.util;+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import com.carrotsearch.randomizedtesting.ClassValidator;/**