http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs b/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs index 687b2f6..f74274d 100644 --- a/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs +++ b/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs @@ -1,4 +1,25 @@ -using 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.Index; using Lucene.Net.Search.Similarities; using Lucene.Net.Util; using NUnit.Framework;
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Misc/Misc/TestHighFreqTerms.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Misc/Misc/TestHighFreqTerms.cs b/src/Lucene.Net.Tests.Misc/Misc/TestHighFreqTerms.cs index 5aa45a0..81f12dc 100644 --- a/src/Lucene.Net.Tests.Misc/Misc/TestHighFreqTerms.cs +++ b/src/Lucene.Net.Tests.Misc/Misc/TestHighFreqTerms.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Analysis; +/* + * + * 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.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Store; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Misc/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Misc/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Misc/Properties/AssemblyInfo.cs index 99bd81c..5cabc23 100644 --- a/src/Lucene.Net.Tests.Misc/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Misc/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Misc/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Misc/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Misc/Support/TestApiConsistency.cs index 7d2741c..8d27dd3 100644 --- a/src/Lucene.Net.Tests.Misc/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.Misc/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Misc/Util/Fst/TestFSTsMisc.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Misc/Util/Fst/TestFSTsMisc.cs b/src/Lucene.Net.Tests.Misc/Util/Fst/TestFSTsMisc.cs index 21e1912..3f48853 100644 --- a/src/Lucene.Net.Tests.Misc/Util/Fst/TestFSTsMisc.cs +++ b/src/Lucene.Net.Tests.Misc/Util/Fst/TestFSTsMisc.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Store; +/* + * + * 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.Store; using NUnit.Framework; using System; using System.Collections.Generic; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/BooleanFilterTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/BooleanFilterTest.cs b/src/Lucene.Net.Tests.Queries/BooleanFilterTest.cs index ad22db9..22a2df4 100644 --- a/src/Lucene.Net.Tests.Queries/BooleanFilterTest.cs +++ b/src/Lucene.Net.Tests.Queries/BooleanFilterTest.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Analysis; +/* + * + * 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.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Queries; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs b/src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs index 49c167a..2d18840 100644 --- a/src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs +++ b/src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs @@ -1,4 +1,25 @@ -using 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.Index; using Lucene.Net.Queries; using Lucene.Net.Search; using Lucene.Net.Util; @@ -23,4 +44,4 @@ namespace Lucene.Net.Tests.Queries assertEquals("BoostingQuery with same attributes is not equal", bq1, bq2); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs b/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs index bef480e..914b3e0 100644 --- a/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs +++ b/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Globalization; using Lucene.Net.Documents; using Lucene.Net.Index; @@ -185,4 +206,4 @@ namespace Lucene.Net.Tests.Queries dir.Dispose(); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/CommonTermsQueryTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/CommonTermsQueryTest.cs b/src/Lucene.Net.Tests.Queries/CommonTermsQueryTest.cs index aa0b481..e4476ef 100644 --- a/src/Lucene.Net.Tests.Queries/CommonTermsQueryTest.cs +++ b/src/Lucene.Net.Tests.Queries/CommonTermsQueryTest.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using Lucene.Net.Analysis; using Lucene.Net.Documents; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/FunctionTestSetup.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/FunctionTestSetup.cs b/src/Lucene.Net.Tests.Queries/Function/FunctionTestSetup.cs index 9725fc5..f3dbfdd 100644 --- a/src/Lucene.Net.Tests.Queries/Function/FunctionTestSetup.cs +++ b/src/Lucene.Net.Tests.Queries/Function/FunctionTestSetup.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using Lucene.Net.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; @@ -179,4 +200,4 @@ namespace Lucene.Net.Tests.Queries.Function } } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestBoostedQuery.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestBoostedQuery.cs b/src/Lucene.Net.Tests.Queries/Function/TestBoostedQuery.cs index e12c7f5..a68a96f 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestBoostedQuery.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestBoostedQuery.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Analysis; +/* + * + * 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.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Queries.Function; @@ -77,4 +98,4 @@ namespace Lucene.Net.Tests.Queries.Function CheckHits.CheckExplanations(q, "", @is); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestDocValuesFieldSources.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestDocValuesFieldSources.cs b/src/Lucene.Net.Tests.Queries/Function/TestDocValuesFieldSources.cs index fcb8445..d218375 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestDocValuesFieldSources.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestDocValuesFieldSources.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Analysis; +/* + * + * 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.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Queries.Function; @@ -147,4 +168,4 @@ namespace Lucene.Net.Tests.Queries.Function } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestFieldScoreQuery.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestFieldScoreQuery.cs b/src/Lucene.Net.Tests.Queries/Function/TestFieldScoreQuery.cs index 73c4424..d677f35 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestFieldScoreQuery.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestFieldScoreQuery.cs @@ -1,4 +1,25 @@ -using 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.Index; using Lucene.Net.Queries.Function; using Lucene.Net.Search; using Lucene.Net.Support; @@ -160,4 +181,4 @@ namespace Lucene.Net.Tests.Queries.Function } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestFunctionQuerySort.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestFunctionQuerySort.cs b/src/Lucene.Net.Tests.Queries/Function/TestFunctionQuerySort.cs index 18ccc6c..7848419 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestFunctionQuerySort.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestFunctionQuerySort.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Queries.Function.ValueSources; @@ -78,4 +99,4 @@ namespace Lucene.Net.Tests.Queries.Function dir.Dispose(); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestLongNormValueSource.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestLongNormValueSource.cs b/src/Lucene.Net.Tests.Queries/Function/TestLongNormValueSource.cs index 96341aa..4c937cd 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestLongNormValueSource.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestLongNormValueSource.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using Lucene.Net.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; @@ -227,4 +248,4 @@ namespace Lucene.Net.Tests.Queries.Function return "DefaultSimilarity"; } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs b/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs index 981acbd..d980ffa 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs @@ -1,4 +1,25 @@ -using 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.Index; using Lucene.Net.Queries.Function; using Lucene.Net.Queries.Function.ValueSources; using Lucene.Net.Search; @@ -155,4 +176,4 @@ namespace Lucene.Net.Tests.Queries.Function assertFalse(rofs.Equals(null)); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Function/TestValueSources.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Function/TestValueSources.cs b/src/Lucene.Net.Tests.Queries/Function/TestValueSources.cs index 509ec25..f01635d 100644 --- a/src/Lucene.Net.Tests.Queries/Function/TestValueSources.cs +++ b/src/Lucene.Net.Tests.Queries/Function/TestValueSources.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using Lucene.Net.Analysis; using Lucene.Net.Codecs; @@ -340,4 +361,4 @@ namespace Lucene.Net.Tests.Queries.Function CheckHits.CheckExplanations(q, "", searcher); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj b/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj index d440be5..02b5f2a 100644 --- a/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj +++ b/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -93,4 +114,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.xproj b/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.xproj index 99c4bc6..b5f1456 100644 --- a/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.xproj +++ b/src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs b/src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs index 665c324..6914cef 100644 --- a/src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs +++ b/src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs @@ -1,4 +1,25 @@ -using System.Collections.Generic; +/* + * + * 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 System.Collections.Generic; using System.IO; using Lucene.Net.Analysis; using Lucene.Net.Documents; @@ -131,4 +152,4 @@ namespace Lucene.Net.Tests.Queries.Mlt // TODO: add tests for the MoreLikeThisQuery } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Queries/Properties/AssemblyInfo.cs index 70717e1..d5b427b 100644 --- a/src/Lucene.Net.Tests.Queries/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Queries/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Queries/Support/TestApiConsistency.cs index eab29b5..1a26d7d 100644 --- a/src/Lucene.Net.Tests.Queries/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.Queries/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/TermFilterTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/TermFilterTest.cs b/src/Lucene.Net.Tests.Queries/TermFilterTest.cs index 9169e46..71f8352 100644 --- a/src/Lucene.Net.Tests.Queries/TermFilterTest.cs +++ b/src/Lucene.Net.Tests.Queries/TermFilterTest.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using Lucene.Net.Documents; using Lucene.Net.Index; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/TermsFilterTest.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/TermsFilterTest.cs b/src/Lucene.Net.Tests.Queries/TermsFilterTest.cs index 21d3733..08ea408 100644 --- a/src/Lucene.Net.Tests.Queries/TermsFilterTest.cs +++ b/src/Lucene.Net.Tests.Queries/TermsFilterTest.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using System.Linq; using Lucene.Net.Documents; @@ -323,4 +344,4 @@ namespace Lucene.Net.Tests.Queries assertEquals("field1:a field1:b field1:c", termsFilter.ToString()); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs b/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs index 527b4df..b2c203b 100644 --- a/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs +++ b/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using Lucene.Net.Index; using Lucene.Net.Queries; @@ -392,4 +413,4 @@ namespace Lucene.Net.Tests.Queries } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs b/src/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs index fb8d7f6..48d86aa 100644 --- a/src/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs +++ b/src/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using System.Linq; using System.Text; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.Designer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.Designer.cs b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.Designer.cs index 3b02f1e..6110777 100644 --- a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.Designer.cs +++ b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.Designer.cs @@ -1,4 +1,25 @@ -//------------------------------------------------------------------------------ +/* + * + * 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. + * +*/ + +//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.ja.resx ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.ja.resx b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.ja.resx index 0e2fc13..af75e43 100644 --- a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.ja.resx +++ b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.ja.resx @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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. + +--> + <root> <!-- Microsoft ResX Schema @@ -123,4 +144,4 @@ <data name="Q0004E_INVALID_SYNTAX_ESCAPE_UNICODE_TRUNCATION" xml:space="preserve"> <value>åãæ¨ã¦ãããã¦ãã³ã¼ãã»ã¨ã¹ã±ã¼ãã»ã·ã¼ã±ã³ã¹ã</value> </data> -</root> \ No newline at end of file +</root> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.resx ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.resx b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.resx index 7d4fa31..cb4e4a4 100644 --- a/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.resx +++ b/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/MessagesTestBundleBundle.resx @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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. + +--> + <root> <!-- Microsoft ResX Schema @@ -123,4 +144,4 @@ <data name="Q0004E_INVALID_SYNTAX_ESCAPE_UNICODE_TRUNCATION" xml:space="preserve"> <value>Truncated unicode escape sequence.</value> </data> -</root> \ No newline at end of file +</root> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj b/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj index 69e23ce..dd636ee 100644 --- a/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj +++ b/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -160,4 +181,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.xproj b/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.xproj index 0e0ef56..da9a8ef 100644 --- a/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.xproj +++ b/src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.QueryParser/Properties/AssemblyInfo.cs index 5edf90d..790c595 100644 --- a/src/Lucene.Net.Tests.QueryParser/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.QueryParser/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs index ecc43d5..a9a941e 100644 --- a/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs b/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs index a548554..4be6b2a 100644 --- a/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs +++ b/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Analysis; +/* + * + * 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.Analysis; using Lucene.Net.Analysis.TokenAttributes; using Lucene.Net.Documents; using Lucene.Net.Index; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj b/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj index 44bdea3..467f5e9 100644 --- a/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj +++ b/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -93,4 +114,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.xproj b/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.xproj index b7c6eae..b5038ac 100644 --- a/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.xproj +++ b/src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Sandbox/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Sandbox/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Sandbox/Properties/AssemblyInfo.cs index ee48689..a7b1a0d 100644 --- a/src/Lucene.Net.Tests.Sandbox/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Sandbox/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Sandbox/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Sandbox/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Sandbox/Support/TestApiConsistency.cs index 5032f2f..3d3c52f 100644 --- a/src/Lucene.Net.Tests.Sandbox/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.Sandbox/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj b/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj index b370f89..89f7038 100644 --- a/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj +++ b/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -115,4 +136,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.xproj b/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.xproj index ff52d93..d31ef35 100644 --- a/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.xproj +++ b/src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Spatial/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Spatial/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Spatial/Properties/AssemblyInfo.cs index fff5b30..d4fff84 100644 --- a/src/Lucene.Net.Tests.Spatial/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Spatial/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Spatial/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Spatial/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Spatial/Support/TestApiConsistency.cs index 41701f8..b7b98ad 100644 --- a/src/Lucene.Net.Tests.Spatial/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.Spatial/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj b/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj index 7e8adbf..a0189d0 100644 --- a/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj +++ b/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -117,4 +138,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.xproj b/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.xproj index 24062a3..5bb38f5 100644 --- a/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.xproj +++ b/src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Suggest/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Suggest/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Suggest/Properties/AssemblyInfo.cs index a87aeba..c53b62c 100644 --- a/src/Lucene.Net.Tests.Suggest/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Suggest/Properties/AssemblyInfo.cs @@ -1,4 +1,25 @@ -using System.Reflection; +/* + * + * 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 System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests.Suggest/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Suggest/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Suggest/Support/TestApiConsistency.cs index c5cc887..2d9772f 100644 --- a/src/Lucene.Net.Tests.Suggest/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests.Suggest/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Index/SynchronizedList.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Index/SynchronizedList.cs b/src/Lucene.Net.Tests/Index/SynchronizedList.cs index 000620d..6df94c6 100644 --- a/src/Lucene.Net.Tests/Index/SynchronizedList.cs +++ b/src/Lucene.Net.Tests/Index/SynchronizedList.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections; using System.Collections.Generic; using System.Linq; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Lucene.Net.Tests.csproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Lucene.Net.Tests.csproj b/src/Lucene.Net.Tests/Lucene.Net.Tests.csproj index 1ce7638..bc4aa2e 100644 --- a/src/Lucene.Net.Tests/Lucene.Net.Tests.csproj +++ b/src/Lucene.Net.Tests/Lucene.Net.Tests.csproj @@ -1,4 +1,25 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> @@ -730,4 +751,4 @@ <EmbeddedResource Include="Support\ReadFully.txt" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.Targets" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Lucene.Net.Tests.xproj ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Lucene.Net.Tests.xproj b/src/Lucene.Net.Tests/Lucene.Net.Tests.xproj index e6a10d9..cb76761 100644 --- a/src/Lucene.Net.Tests/Lucene.Net.Tests.xproj +++ b/src/Lucene.Net.Tests/Lucene.Net.Tests.xproj @@ -1,4 +1,24 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + + 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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> @@ -19,4 +39,4 @@ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project> \ No newline at end of file +</Project> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/RectangularArrays.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/RectangularArrays.cs b/src/Lucene.Net.Tests/RectangularArrays.cs index 6375f45..fad2f5a 100644 --- a/src/Lucene.Net.Tests/RectangularArrays.cs +++ b/src/Lucene.Net.Tests/RectangularArrays.cs @@ -1,5 +1,26 @@ +/* + * + * 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 � 2007 - 2013 Tangible Software Solutions Inc. +// Copyright � 2007 - 2013 Tangible Software Solutions Inc. // this class can be used by anyone provided that the copyright notice remains intact. // // this class provides the logic to simulate Java rectangular arrays, which are jagged @@ -49,4 +70,4 @@ internal static partial class RectangularArrays return Array; } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/BaseBufferTestCase.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/BaseBufferTestCase.cs b/src/Lucene.Net.Tests/Support/BaseBufferTestCase.cs index f8d4515..051e0d6 100644 --- a/src/Lucene.Net.Tests/Support/BaseBufferTestCase.cs +++ b/src/Lucene.Net.Tests/Support/BaseBufferTestCase.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Util; +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * +*/ + +using Lucene.Net.Util; using NUnit.Framework; using System; using System.Globalization; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/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 3d854a2..f522c35 100644 --- a/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs +++ b/src/Lucene.Net.Tests/Support/C5/DropMultiplicity.cs @@ -1,4 +1,25 @@ -using System; +/* + * + * 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 System; using System.Collections.Generic; using System.Linq; using System.Text; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests/Support/TestApiConsistency.cs index 517aee9..0143e5a 100644 --- a/src/Lucene.Net.Tests/Support/TestApiConsistency.cs +++ b/src/Lucene.Net.Tests/Support/TestApiConsistency.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using NUnit.Framework; using System; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestByteBuffer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/TestByteBuffer.cs b/src/Lucene.Net.Tests/Support/TestByteBuffer.cs index f03598b..4ce3302 100644 --- a/src/Lucene.Net.Tests/Support/TestByteBuffer.cs +++ b/src/Lucene.Net.Tests/Support/TestByteBuffer.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using NUnit.Framework; using System; using System.Reflection; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestCollections.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/TestCollections.cs b/src/Lucene.Net.Tests/Support/TestCollections.cs index 18c2ad7..4e269a6 100644 --- a/src/Lucene.Net.Tests/Support/TestCollections.cs +++ b/src/Lucene.Net.Tests/Support/TestCollections.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Support; using Lucene.Net.Util; using NUnit.Framework; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestDataInputStream.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/TestDataInputStream.cs b/src/Lucene.Net.Tests/Support/TestDataInputStream.cs index 5bc3816..e51eef9 100644 --- a/src/Lucene.Net.Tests/Support/TestDataInputStream.cs +++ b/src/Lucene.Net.Tests/Support/TestDataInputStream.cs @@ -1,4 +1,25 @@ -using Lucene.Net.Attributes; +/* + * + * 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.Attributes; using Lucene.Net.Util; using NUnit.Framework; using System;
