Apache Lucene open-source search software
LUCENE-1629: correct ASF source headers
Michael McCandlessf81f6796a208
diff --git a/NOTICE.txt b/NOTICE.txtindex 8380d8fb163..e4d20dec275 100644--- a/NOTICE.txt+++ b/NOTICE.txt@@ -16,3 +16,6 @@ resides in contrib/analyzers/src/java/org/apache/lucene/analysis/ar/stopwords.txSee http://members.unine.ch/jacques.savoy/clef/index.html.Includes lib/servlet-api-2.4.jar from Apache Tomcat++The SmartChineseAnalyzer source code (under contrib/analyzers) was+provided by Xiaoping Gao and copyright 2009 by www.imdict.net.diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.javaindex 9737541dfd6..a720f4dc877 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/AnalyzerProfile.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/AnalyzerProfile.javaindex 09f2deaafea..3d766a6b0e4 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/AnalyzerProfile.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/AnalyzerProfile.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/CharType.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/CharType.javaindex c3e448b948b..5fd18e64828 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/CharType.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/CharType.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/SentenceTokenizer.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/SentenceTokenizer.javaindex 7ac7c0706c2..4d92aef85f9 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/SentenceTokenizer.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/SentenceTokenizer.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/Utility.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/Utility.javaindex 59a4037dba1..b3105d7e7a3 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/Utility.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/Utility.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordSegmenter.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordSegmenter.javaindex 2a98ae6eaee..bd159be647c 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordSegmenter.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordSegmenter.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordTokenizer.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordTokenizer.javaindex d2dd452a5ff..7a26f058538 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordTokenizer.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordTokenizer.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordType.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordType.javaindex 52e0317baee..808ee42dce5 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordType.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/WordType.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/AbstractDictionary.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/AbstractDictionary.javaindex 30a21e18ae7..d0da76b7225 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/AbstractDictionary.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/AbstractDictionary.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BiSegGraph.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BiSegGraph.javaindex c7b97e1d431..1854b57af6f 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BiSegGraph.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BiSegGraph.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BigramDictionary.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BigramDictionary.javaindex 5414befb63f..0ae2b88bed6 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BigramDictionary.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/BigramDictionary.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfBigramDictionary.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfBigramDictionary.javaindex 2cdd078bdd4..3d5305fd7bc 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfBigramDictionary.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfBigramDictionary.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfWordDictionary.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfWordDictionary.javaindex e63e5789757..06c1bc2cf34 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfWordDictionary.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/CopyOfWordDictionary.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/HHMMSegmenter.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/HHMMSegmenter.javaindex d601343e657..c3532f2a3ea 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/HHMMSegmenter.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/HHMMSegmenter.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/PathNode.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/PathNode.javaindex 612e6a5624c..4a224ce5a25 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/PathNode.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/PathNode.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.javaindex 3960650354e..bdfac7dc112 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.javaindex 2e7cf80ee58..7ce7e9e6c01 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenFilter.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenFilter.javaindex e72553bdf12..52957407251 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenFilter.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenFilter.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.javaindex 10cfd03e242..b41cb76290b 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/WordDictionary.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/WordDictionary.javaindex 53cdfaeda7c..5e6b0617eed 100644--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/WordDictionary.java+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/smart/hhmm/WordDictionary.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*diff --git a/contrib/analyzers/src/test/org/apache/lucene/analysis/cn/TestSmartChineseAnalyzer.java b/contrib/analyzers/src/test/org/apache/lucene/analysis/cn/TestSmartChineseAnalyzer.javaindex 66a6e4452a7..22bc1921434 100644--- a/contrib/analyzers/src/test/org/apache/lucene/analysis/cn/TestSmartChineseAnalyzer.java+++ b/contrib/analyzers/src/test/org/apache/lucene/analysis/cn/TestSmartChineseAnalyzer.java@@ -1,9 +1,10 @@/**- * Copyright 2009 www.imdict.net- *- * 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+ * 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*