You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by bu...@apache.org on 2007/06/09 08:09:54 UTC
svn commit: r545696 [1/3] - in /lucene/java: branches/lucene_2_2/
branches/lucene_2_2/contrib/ branches/lucene_2_2/contrib/analyzers/
branches/lucene_2_2/contrib/ant/ branches/lucene_2_2/contrib/benchmark/
branches/lucene_2_2/contrib/benchmark/src/java...
Author: buschmi
Date: Fri Jun 8 23:09:46 2007
New Revision: 545696
URL: http://svn.apache.org/viewvc?view=rev&rev=545696
Log:
LUCENE-931: adding missing license headers to various files
Modified:
lucene/java/branches/lucene_2_2/build.xml
lucene/java/branches/lucene_2_2/common-build.xml
lucene/java/branches/lucene_2_2/contrib/analyzers/build.xml
lucene/java/branches/lucene_2_2/contrib/ant/build.xml
lucene/java/branches/lucene_2_2/contrib/benchmark/build.xml
lucene/java/branches/lucene_2_2/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java
lucene/java/branches/lucene_2_2/contrib/contrib-build.xml
lucene/java/branches/lucene_2_2/contrib/db/build.xml
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java
lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java
lucene/java/branches/lucene_2_2/contrib/highlighter/build.xml
lucene/java/branches/lucene_2_2/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java
lucene/java/branches/lucene_2_2/contrib/javascript/queryConstructor/luceneQueryConstructor.js
lucene/java/branches/lucene_2_2/contrib/javascript/queryEscaper/luceneQueryEscaper.js
lucene/java/branches/lucene_2_2/contrib/javascript/queryValidator/luceneQueryValidator.js
lucene/java/branches/lucene_2_2/contrib/lucli/build.xml
lucene/java/branches/lucene_2_2/contrib/memory/build.xml
lucene/java/branches/lucene_2_2/contrib/miscellaneous/build.xml
lucene/java/branches/lucene_2_2/contrib/queries/build.xml
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java
lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java
lucene/java/branches/lucene_2_2/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java
lucene/java/branches/lucene_2_2/contrib/regex/build.xml
lucene/java/branches/lucene_2_2/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java
lucene/java/branches/lucene_2_2/contrib/similarity/build.xml
lucene/java/branches/lucene_2_2/contrib/snowball/build.xml
lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/Among.java
lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java
lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/TestApp.java
lucene/java/branches/lucene_2_2/contrib/spellchecker/build.xml
lucene/java/branches/lucene_2_2/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java
lucene/java/branches/lucene_2_2/contrib/surround/build.xml
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test01Exceptions.java
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test02Boolean.java
lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test03Distance.java
lucene/java/branches/lucene_2_2/contrib/swing/build.xml
lucene/java/branches/lucene_2_2/contrib/wordnet/build.xml
lucene/java/branches/lucene_2_2/contrib/wordnet/src/java/org/apache/lucene/wordnet/SynExpand.java
lucene/java/branches/lucene_2_2/contrib/wordnet/src/java/org/apache/lucene/wordnet/SynLookup.java
lucene/java/branches/lucene_2_2/contrib/wordnet/src/java/org/apache/lucene/wordnet/Syns2Index.java
lucene/java/branches/lucene_2_2/contrib/xml-query-parser/build.xml
lucene/java/branches/lucene_2_2/src/demo/demo-build.template
lucene/java/branches/lucene_2_2/src/java/org/apache/lucene/document/MapFieldSelector.java
lucene/java/branches/lucene_2_2/src/java/org/apache/lucene/search/PrefixFilter.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/TestHitIterator.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestAddIndexesNoOptimize.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestFieldInfos.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestIndexFileDeleter.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestIndexWriter.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestIndexWriterDelete.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestIndexWriterLockRelease.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestNorms.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestParallelTermEnum.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestSegmentTermEnum.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestTerm.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/index/TestTermVectorsReader.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/search/TestRangeQuery.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/search/TestTermScorer.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/store/TestBufferedIndexInput.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/store/TestWindowsMMap.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/store/_TestHelper.java
lucene/java/branches/lucene_2_2/src/test/org/apache/lucene/util/_TestUtil.java
lucene/java/trunk/build.xml
lucene/java/trunk/common-build.xml
lucene/java/trunk/contrib/analyzers/build.xml
lucene/java/trunk/contrib/ant/build.xml
lucene/java/trunk/contrib/benchmark/build.xml
lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java
lucene/java/trunk/contrib/contrib-build.xml
lucene/java/trunk/contrib/db/build.xml
lucene/java/trunk/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java
lucene/java/trunk/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java
lucene/java/trunk/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java
lucene/java/trunk/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java
lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java
lucene/java/trunk/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java
lucene/java/trunk/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java
lucene/java/trunk/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java
lucene/java/trunk/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java
lucene/java/trunk/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java
lucene/java/trunk/contrib/highlighter/build.xml
lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java
lucene/java/trunk/contrib/javascript/queryConstructor/luceneQueryConstructor.js
lucene/java/trunk/contrib/javascript/queryEscaper/luceneQueryEscaper.js
lucene/java/trunk/contrib/javascript/queryValidator/luceneQueryValidator.js
lucene/java/trunk/contrib/lucli/build.xml
lucene/java/trunk/contrib/memory/build.xml
lucene/java/trunk/contrib/miscellaneous/build.xml
lucene/java/trunk/contrib/queries/build.xml
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java
lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java
lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java
lucene/java/trunk/contrib/regex/build.xml
lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java
lucene/java/trunk/contrib/similarity/build.xml
lucene/java/trunk/contrib/snowball/build.xml
lucene/java/trunk/contrib/snowball/src/java/net/sf/snowball/Among.java
lucene/java/trunk/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java
lucene/java/trunk/contrib/snowball/src/java/net/sf/snowball/TestApp.java
lucene/java/trunk/contrib/spellchecker/build.xml
lucene/java/trunk/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java
lucene/java/trunk/contrib/surround/build.xml
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test01Exceptions.java
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test02Boolean.java
lucene/java/trunk/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/Test03Distance.java
lucene/java/trunk/contrib/swing/build.xml
lucene/java/trunk/contrib/wordnet/build.xml
lucene/java/trunk/contrib/wordnet/src/java/org/apache/lucene/wordnet/SynExpand.java
lucene/java/trunk/contrib/wordnet/src/java/org/apache/lucene/wordnet/SynLookup.java
lucene/java/trunk/contrib/wordnet/src/java/org/apache/lucene/wordnet/Syns2Index.java
lucene/java/trunk/contrib/xml-query-parser/build.xml
lucene/java/trunk/src/demo/demo-build.template
lucene/java/trunk/src/java/org/apache/lucene/document/MapFieldSelector.java
lucene/java/trunk/src/java/org/apache/lucene/search/PrefixFilter.java
lucene/java/trunk/src/test/org/apache/lucene/TestHitIterator.java
lucene/java/trunk/src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestAddIndexesNoOptimize.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldInfos.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexFileDeleter.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterDelete.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterLockRelease.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestNorms.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestParallelTermEnum.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentTermEnum.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestTerm.java
lucene/java/trunk/src/test/org/apache/lucene/index/TestTermVectorsReader.java
lucene/java/trunk/src/test/org/apache/lucene/search/TestRangeQuery.java
lucene/java/trunk/src/test/org/apache/lucene/search/TestTermScorer.java
lucene/java/trunk/src/test/org/apache/lucene/store/TestBufferedIndexInput.java
lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java
lucene/java/trunk/src/test/org/apache/lucene/store/_TestHelper.java
lucene/java/trunk/src/test/org/apache/lucene/util/_TestUtil.java
Modified: lucene/java/branches/lucene_2_2/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/build.xml (original)
+++ lucene/java/branches/lucene_2_2/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="core" default="default" basedir=".">
<property name="junit.includes" value="**/Test*.java"/>
Modified: lucene/java/branches/lucene_2_2/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/common-build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/common-build.xml (original)
+++ lucene/java/branches/lucene_2_2/common-build.xml Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+
+<!--
+ 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.
+ -->
+
<project name="common">
<description>
This file is designed for importing into a main build file, and not intended
@@ -389,6 +407,7 @@
</macrodef>
</project>
+
Modified: lucene/java/branches/lucene_2_2/contrib/analyzers/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/analyzers/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/analyzers/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/analyzers/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="analyzers" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/ant/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/ant/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/ant/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/ant/build.xml Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+
+<!--
+ 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.
+ -->
+
<project name="ant" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/benchmark/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/benchmark/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/benchmark/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/benchmark/build.xml Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+
+<!--
+ 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.
+ -->
+
<project name="benchmark" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleSloppyPhraseQueryMaker.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.benchmark.byTask.feeds;
+/**
+ * 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.ArrayList;
import java.util.StringTokenizer;
Modified: lucene/java/branches/lucene_2_2/contrib/contrib-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/contrib-build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/contrib-build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/contrib-build.xml Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+
+<!--
+ 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.
+ -->
+
<project name="contrib-build">
<echo>Building ${ant.project.name}...</echo>
Modified: lucene/java/branches/lucene_2_2/contrib/db/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/db/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/db/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/db/build.xml Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+
+<!--
+ 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.
+ -->
+
<project name="db" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/FeedNotFoundException.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.server;
-
+
+/**
+ * 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.
+ */
+
/**
* Will be thrown if a requested feed could not be found or is not
@@ -54,4 +71,4 @@
}
-}
\ No newline at end of file
+}
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/ComponentType.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.server.registry;
+/**
+ * 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 org.apache.lucene.gdata.search.SearchComponent;
import org.apache.lucene.gdata.server.ServiceFactory;
import org.apache.lucene.gdata.server.authentication.AuthenticationController;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/server/registry/RegistryException.java Fri Jun 8 23:09:46 2007
@@ -1,6 +1,23 @@
package org.apache.lucene.gdata.server.registry;
/**
+ * 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.
+ */
+
+/**
* This exception is thrown by the
* {@link org.apache.lucene.gdata.server.registry.GDataServerRegistry} if
* registering a service or a component fails.
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/lucenestorage/StorageAccountWrapper.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.storage.lucenestorage;
+/**
+ * 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.net.MalformedURLException;
import java.net.URL;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/storage/lucenestorage/TestModifiedEntryFilter.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.storage.lucenestorage;
-
+
+/**
+ * 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.io.IOException;
import java.util.ArrayList;
import java.util.List;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/AtomUriElementTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.gom.core;
+/**
+ * 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.io.StringWriter;
import javax.xml.stream.FactoryConfigurationError;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMEntryImplTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.gom.core;
+/**
+ * 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.io.StringWriter;
import java.util.List;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMFeedImplTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.gom.core;
+/**
+ * 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.io.StringWriter;
import java.util.LinkedList;
import java.util.List;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMGenereatorImplTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.gom.core;
+/**
+ * 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.io.StringWriter;
import javax.xml.namespace.QName;
Modified: lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/gdata-server/src/gom/src/test/org/apache/lucene/gdata/gom/core/GOMSourceImplTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.gdata.gom.core;
+/**
+ * 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.io.StringWriter;
import java.util.List;
Modified: lucene/java/branches/lucene_2_2/contrib/highlighter/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/highlighter/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/highlighter/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/highlighter/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="highlighter" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java Fri Jun 8 23:09:46 2007
@@ -3,6 +3,23 @@
*/
package org.apache.lucene.search.highlight;
+/**
+ * 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.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
Modified: lucene/java/branches/lucene_2_2/contrib/javascript/queryConstructor/luceneQueryConstructor.js
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/javascript/queryConstructor/luceneQueryConstructor.js?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/javascript/queryConstructor/luceneQueryConstructor.js (original)
+++ lucene/java/branches/lucene_2_2/contrib/javascript/queryConstructor/luceneQueryConstructor.js Fri Jun 8 23:09:46 2007
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
// Lucene Search Query Constructor
// Author: Kelvin Tan (kelvint at apache.org)
// Version: $Id$
@@ -283,4 +300,4 @@
pattern = /^(\s*)([\w\W]*)(\s*$)/;
if (pattern.test(temp)) { temp = temp.replace(pattern, "$2"); }
return temp; // Return the trimmed string back to the user
-}
\ No newline at end of file
+}
Modified: lucene/java/branches/lucene_2_2/contrib/javascript/queryEscaper/luceneQueryEscaper.js
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/javascript/queryEscaper/luceneQueryEscaper.js?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/javascript/queryEscaper/luceneQueryEscaper.js (original)
+++ lucene/java/branches/lucene_2_2/contrib/javascript/queryEscaper/luceneQueryEscaper.js Fri Jun 8 23:09:46 2007
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
// Special characters are + - && || ! ( ) { } [ ] ^ " ~ * ? : \
// Special words are (case-sensitive) AND NOT OR
// We escape the common ones, i.e. ! ? * ( ) " :
@@ -95,4 +112,4 @@
function escapeDoubleBars(query)
{
return query.replace(/[\|]{2}/g, "\\|\\|");
-}
\ No newline at end of file
+}
Modified: lucene/java/branches/lucene_2_2/contrib/javascript/queryValidator/luceneQueryValidator.js
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/javascript/queryValidator/luceneQueryValidator.js?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/javascript/queryValidator/luceneQueryValidator.js (original)
+++ lucene/java/branches/lucene_2_2/contrib/javascript/queryValidator/luceneQueryValidator.js Fri Jun 8 23:09:46 2007
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
// Author: Kelvin Tan (kelvint at apache.org)
// JavaScript Lucene Query Validator
// Version: $Id$
@@ -288,4 +305,4 @@
return false;
}
return true;
-}
\ No newline at end of file
+}
Modified: lucene/java/branches/lucene_2_2/contrib/lucli/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/lucli/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/lucli/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/lucli/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="lucli" default="jar">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/memory/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/memory/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/memory/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/memory/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="memory" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/miscellaneous/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/miscellaneous/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/miscellaneous/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/miscellaneous/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="misc" default="default">
<!-- TODO: add javacc capability for PrecedenceQueryParser -->
Modified: lucene/java/branches/lucene_2_2/contrib/queries/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="queries" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BooleanFilter.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search;
+/**
+ * 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.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;
@@ -161,4 +178,4 @@
return hash;
}
-}
\ No newline at end of file
+}
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java Fri Jun 8 23:09:46 2007
@@ -1,4 +1,22 @@
package org.apache.lucene.search;
+
+/**
+ * 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.io.IOException;
import org.apache.lucene.index.IndexReader;
@@ -68,4 +86,4 @@
public String toString(String field) {
return match.toString(field) + "/" + context.toString(field);
}
- }
\ No newline at end of file
+ }
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FilterClause.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search;
+/**
+ * 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 org.apache.lucene.search.BooleanClause.Occur;
/**
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search;
+/**
+ * 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.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search;
+/**
+ * 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.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java Fri Jun 8 23:09:46 2007
@@ -3,6 +3,23 @@
*/
package org.apache.lucene.search.similar;
+/**
+ * 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.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.Set;
Modified: lucene/java/branches/lucene_2_2/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/queries/src/test/org/apache/lucene/search/BooleanFilterTest.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search;
+/**
+ * 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.io.IOException;
import java.util.BitSet;
Modified: lucene/java/branches/lucene_2_2/contrib/regex/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/regex/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/regex/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/regex/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="regex" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.search.regex;
+/**
+ * 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 junit.framework.TestCase;
import org.apache.lucene.store.RAMDirectory;
import org.apache.lucene.index.IndexWriter;
Modified: lucene/java/branches/lucene_2_2/contrib/similarity/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/similarity/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/similarity/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/similarity/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="similarity" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/snowball/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/snowball/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/snowball/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/snowball/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="snowball" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/Among.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/Among.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/Among.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/Among.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,21 @@
-
package net.sf.snowball;
+
+/**
+ * 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.lang.reflect.Method;
Modified: lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/SnowballProgram.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
-
package net.sf.snowball;
+
+/**
+ * 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.lang.reflect.InvocationTargetException;
public class SnowballProgram {
@@ -407,4 +424,5 @@
*/
};
+
Modified: lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/TestApp.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/TestApp.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/TestApp.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/snowball/src/java/net/sf/snowball/TestApp.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package net.sf.snowball;
+/**
+ * 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.lang.reflect.Method;
import java.io.Reader;
import java.io.Writer;
Modified: lucene/java/branches/lucene_2_2/contrib/spellchecker/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/spellchecker/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/spellchecker/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/spellchecker/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="spellchecker" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,21 @@
package org.apache.lucene.search.spell;
+/**
+ * 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.io.IOException;
Modified: lucene/java/branches/lucene_2_2/contrib/surround/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/surround/build.xml?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/surround/build.xml (original)
+++ lucene/java/branches/lucene_2_2/contrib/surround/build.xml Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
<project name="surround" default="default">
<description>
Modified: lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.queryParser.surround.query;
+/**
+ * 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 org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.Searcher;
import org.apache.lucene.search.Query;
@@ -90,4 +107,5 @@
tc.checkNrHits();
}
}
+
Modified: lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.queryParser.surround.query;
+/**
+ * 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 org.apache.lucene.queryParser.surround.parser.ParseException;
import org.apache.lucene.queryParser.surround.parser.QueryParser;
@@ -45,4 +62,5 @@
return failQueries.toString();
}
}
+
Modified: lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java?view=diff&rev=545696&r1=545695&r2=545696
==============================================================================
--- lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java (original)
+++ lucene/java/branches/lucene_2_2/contrib/surround/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java Fri Jun 8 23:09:46 2007
@@ -1,5 +1,22 @@
package org.apache.lucene.queryParser.surround.query;
+/**
+ * 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 org.apache.lucene.store.Directory;
import org.apache.lucene.store.RAMDirectory;
import org.apache.lucene.document.Document;
@@ -35,4 +52,5 @@
String[] getDocs() {return docs;}
String getFieldname() {return fieldName;}
}
+