http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Index/TestStressIndexing.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Index/TestStressIndexing.cs b/src/Lucene.Net.Tests/Index/TestStressIndexing.cs index 610a81b..5f6503c 100644 --- a/src/Lucene.Net.Tests/Index/TestStressIndexing.cs +++ b/src/Lucene.Net.Tests/Index/TestStressIndexing.cs @@ -5,27 +5,27 @@ using Lucene.Net.Documents; namespace Lucene.Net.Index { - + /* + * 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. + */ + using Lucene.Net.Search; using Lucene.Net.Store; using Lucene.Net.Support; - /* - /// Copyright 2004 The Apache Software Foundation - /// - /// Licensed under the Apache License, Version 2.0 (the "License"); - /// you may not use this file except in compliance with the License. - /// You may obtain a copy of the License at - /// - /// http://www.apache.org/licenses/LICENSE-2.0 - /// - /// Unless required by applicable law or agreed to in writing, software - /// distributed under the License is distributed on an "AS IS" BASIS, - /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - /// See the License for the specific language governing permissions and - /// limitations under the License. - */ - using Lucene.Net.Util; using NUnit.Framework; using MockAnalyzer = Lucene.Net.Analysis.MockAnalyzer;
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs b/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs index bb1b9cb..087176d 100644 --- a/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs +++ b/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs @@ -5,26 +5,26 @@ using Lucene.Net.Documents; using Lucene.Net.Support; using NUnit.Framework; using System; +using System.IO; namespace Lucene.Net.Index { - using System.IO; - /* - /// Copyright 2006 The Apache Software Foundation - /// - /// Licensed under the Apache License, Version 2.0 (the "License"); - /// you may not use this file except in compliance with the License. - /// You may obtain a copy of the License at - /// - /// http://www.apache.org/licenses/LICENSE-2.0 - /// - /// Unless required by applicable law or agreed to in writing, software - /// distributed under the License is distributed on an "AS IS" BASIS, - /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - /// See the License for the specific language governing permissions and - /// limitations under the License. - */ + * 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. + */ using Analyzer = Lucene.Net.Analysis.Analyzer; using BytesRef = Lucene.Net.Util.BytesRef; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Search/Spans/TestPayloadSpans.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Search/Spans/TestPayloadSpans.cs b/src/Lucene.Net.Tests/Search/Spans/TestPayloadSpans.cs index 871cc23..6d0a958 100644 --- a/src/Lucene.Net.Tests/Search/Spans/TestPayloadSpans.cs +++ b/src/Lucene.Net.Tests/Search/Spans/TestPayloadSpans.cs @@ -11,20 +11,21 @@ using System.IO; namespace Lucene.Net.Search.Spans { /* - /// Copyright 2004 The Apache Software Foundation - /// - /// Licensed under the Apache License, Version 2.0 (the "License"); - /// you may not use this file except in compliance with the License. - /// You may obtain a copy of the License at - /// - /// http://www.apache.org/licenses/LICENSE-2.0 - /// - /// Unless required by applicable law or agreed to in writing, software - /// distributed under the License is distributed on an "AS IS" BASIS, - /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - /// See the License for the specific language governing permissions and - /// limitations under the License. - */ + * 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. + */ using Analyzer = Lucene.Net.Analysis.Analyzer; using BytesRef = Lucene.Net.Util.BytesRef; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Search/TestCustomSearcherSort.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Search/TestCustomSearcherSort.cs b/src/Lucene.Net.Tests/Search/TestCustomSearcherSort.cs index 0511e75..f5206c1 100644 --- a/src/Lucene.Net.Tests/Search/TestCustomSearcherSort.cs +++ b/src/Lucene.Net.Tests/Search/TestCustomSearcherSort.cs @@ -1,3 +1,4 @@ +using NUnit.Framework; using System; using System.Collections.Generic; using System.Globalization; @@ -6,23 +7,22 @@ using Lucene.Net.Documents; namespace Lucene.Net.Search { - using NUnit.Framework; - - /// <summary> - /// Copyright 2005 The Apache Software Foundation - /// - /// Licensed under the Apache License, Version 2.0 (the "License"); - /// you may not use this file except in compliance with the License. - /// You may obtain a copy of the License at - /// - /// http://www.apache.org/licenses/LICENSE-2.0 - /// - /// Unless required by applicable law or agreed to in writing, software - /// distributed under the License is distributed on an "AS IS" BASIS, - /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - /// See the License for the specific language governing permissions and - /// limitations under the License. - /// </summary> + /* + * 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. + */ using DateTools = DateTools; using Directory = Lucene.Net.Store.Directory; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs b/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs index f522c35..f1d1b1f 100644 --- a/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs +++ b/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs @@ -1,22 +1,22 @@ /* - * - * 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. - * + Copyright (c) 2003-2016 Niels Kokholm, Peter Sestoft, and Rasmus Lystr�m + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. */ using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c5dfbfd/src/Lucene.Net.Tests/Util/TestSmallFloat.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Util/TestSmallFloat.cs b/src/Lucene.Net.Tests/Util/TestSmallFloat.cs index 34d9b9b..d679170 100644 --- a/src/Lucene.Net.Tests/Util/TestSmallFloat.cs +++ b/src/Lucene.Net.Tests/Util/TestSmallFloat.cs @@ -3,21 +3,22 @@ using NUnit.Framework; namespace Lucene.Net.Util { - /// <summary> - /// Copyright 2005 The Apache Software Foundation - /// - /// Licensed under the Apache License, Version 2.0 (the "License"); - /// you may not use this file except in compliance with the License. - /// You may obtain a copy of the License at - /// - /// http://www.apache.org/licenses/LICENSE-2.0 - /// - /// Unless required by applicable law or agreed to in writing, software - /// distributed under the License is distributed on an "AS IS" BASIS, - /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - /// See the License for the specific language governing permissions and - /// limitations under the License. - /// </summary> + /* + * 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. + */ [TestFixture] public class TestSmallFloat : LuceneTestCase
