Skip to content

Apache Lucene open-source search software

adding license; typo fix

Daniel Naberc35d91635506
diff --git a/src/test/org/apache/lucene/search/TestRangeFilter.java b/src/test/org/apache/lucene/search/TestRangeFilter.java
index 04b75f7a163..ae2488b59e6 100644
--- a/src/test/org/apache/lucene/search/TestRangeFilter.java
+++ b/src/test/org/apache/lucene/search/TestRangeFilter.java
@@ -1,5 +1,20 @@
package org.apache.lucene.search;
+/**
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
import java.io.IOException;
@@ -11,7 +26,7 @@ import org.apache.lucene.index.Term;
*
* <p>
* NOTE: at the moment, this class only tests for 'positive' results,
- * it does not verify the results to ensure their are no 'false positives',
+ * it does not verify the results to ensure there are no 'false positives',
* nor does it adequately test 'negative' results. It also does not test
* that garbage in results in an Exception.
*/