This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit cffc8ddd668841eaf82cf759f976ba90aa233002 Author: Shad Storhaug <[email protected]> AuthorDate: Sun Jun 28 00:54:18 2020 +0700 Added missing license headers --- Lucene.Net.sln | 16 ++++++++++++++++ NuGet.config | 22 +++++++++++++++++++++- .../Support/Util/LuceneTestFrameworkInitializer.cs | 21 +++++++++++++++++++-- 3 files changed, 56 insertions(+), 3 deletions(-) diff --git a/Lucene.Net.sln b/Lucene.Net.sln index b52fecc..b11d8e5 100644 --- a/Lucene.Net.sln +++ b/Lucene.Net.sln @@ -1,5 +1,21 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 +# 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. VisualStudioVersion = 16.0.29806.167 MinimumVisualStudioVersion = 15.0.26730.8 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "azure-templates", "azure-templates", "{05CE3A39-40D4-452D-AFE0-E57E536A08C6}" diff --git a/NuGet.config b/NuGet.config index 940a841..afae527 100644 --- a/NuGet.config +++ b/NuGet.config @@ -1,6 +1,26 @@ <?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. +--> + <configuration> <packageSources> <add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" /> </packageSources> -</configuration> \ No newline at end of file +</configuration> diff --git a/src/Lucene.Net.TestFramework/Support/Util/LuceneTestFrameworkInitializer.cs b/src/Lucene.Net.TestFramework/Support/Util/LuceneTestFrameworkInitializer.cs index d4ce02c..2e3ae58 100644 --- a/src/Lucene.Net.TestFramework/Support/Util/LuceneTestFrameworkInitializer.cs +++ b/src/Lucene.Net.TestFramework/Support/Util/LuceneTestFrameworkInitializer.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Codecs; +using Lucene.Net.Codecs; using Lucene.Net.Configuration; using NUnit.Framework; using System; @@ -6,6 +6,23 @@ using System.Threading; namespace 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. + */ + /// <summary> /// <see cref="LuceneTestFrameworkInitializer"/> may be subclassed by end users in order to /// use standard dependency injection techniques for classes under test. A subclass of <see cref="LuceneTestFrameworkInitializer"/> @@ -194,4 +211,4 @@ namespace Lucene.Net.Util { } } -} \ No newline at end of file +}
