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 dbdadabbc38ebe742d8ec8162ca034fab92c935c Author: Shad Storhaug <[email protected]> AuthorDate: Fri Aug 9 21:42:41 2019 +0700 Added missing license headers --- .../Support/TagSoup/HTMLSchema.Generated.cs | 22 +++++++++++++++++++++- .../Support/TagSoup/HTMLSchema.tt | 4 ++-- src/docs/LuceneDocsPlugins/LuceneDocsPlugins.sln | 18 ++++++++++++++++++ .../LuceneDocsPlugins/LuceneDfmEngineCustomizer.cs | 21 ++++++++++++++++++++- .../LuceneDocsPlugins/LuceneDocsPlugins.csproj | 20 ++++++++++++++++++++ .../LuceneDocsPlugins/LuceneNoteBlockRule.cs | 19 +++++++++++++++++++ .../LuceneDocsPlugins/LuceneNoteBlockToken.cs | 19 +++++++++++++++++++ .../LuceneRendererPartProvider.cs | 21 ++++++++++++++++++++- .../LuceneDocsPlugins/LuceneTokenRendererPart.cs | 19 +++++++++++++++++++ .../LuceneDocsPlugins/Properties/AssemblyInfo.cs | 21 ++++++++++++++++++++- .../LuceneDocsPlugins/packages.config | 20 ++++++++++++++++++++ .../Support/JDKBreakIterator.cs | 17 +++++++++++++++++ .../Support/PostingsHighlighter.cs | 17 +++++++++++++++++ .../Support/TestJDKBreakIterator.cs | 17 +++++++++++++++++ .../Formatters/CodeLinkReplacer.cs | 21 ++++++++++++++++++++- .../Formatters/DocTypeReplacer.cs | 21 ++++++++++++++++++++- .../Formatters/ExtraHtmlElementReplacer.cs | 21 ++++++++++++++++++++- .../Formatters/IReplacer.cs | 21 ++++++++++++++++++++- .../Formatters/JavaDocFormatters.cs | 21 ++++++++++++++++++++- .../Formatters/PatternReplacer.cs | 21 ++++++++++++++++++++- .../Formatters/RepoLinkReplacer.cs | 21 ++++++++++++++++++++- .../JavaDocToMarkdownConverter/StringExtensions.cs | 21 ++++++++++++++++++++- websites/apidocs/lucenetemplate/styles/main.css | 19 +++++++++++++++++++ websites/apidocs/lucenetemplate/styles/main.js | 19 +++++++++++++++++++ websites/apidocs/lucenetemplate/web.config | 20 ++++++++++++++++++++ websites/site/lucenetemplate/styles/main.css | 19 +++++++++++++++++++ websites/site/lucenetemplate/styles/site.css | 19 +++++++++++++++++++ websites/site/lucenetemplate/web.config | 20 ++++++++++++++++++++ 28 files changed, 525 insertions(+), 14 deletions(-) diff --git a/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.Generated.cs b/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.Generated.cs index 6f9c539..21a20d3 100644 --- a/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.Generated.cs +++ b/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.Generated.cs @@ -1,4 +1,24 @@ -//------------------------------------------------------------------------------ +/* +# ----------------------------------------------------------------------------------- +# +# 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. // diff --git a/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.tt b/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.tt index 5f4a839..a4253de 100644 --- a/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.tt +++ b/src/Lucene.Net.Benchmark/Support/TagSoup/HTMLSchema.tt @@ -3,7 +3,7 @@ <#@ import namespace="System.IO" #> <#@ import namespace="System.Xml.Xsl" #> <#@ output extension=".Generated.cs" #> -<# /* +/* # ----------------------------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one or more @@ -22,7 +22,7 @@ # limitations under the License. # # ----------------------------------------------------------------------------------- -*/ #> +*/ //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins.sln b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins.sln index 99a8fbb..b2979b1 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins.sln +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins.sln @@ -1,6 +1,24 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 + +# 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 = 15.0.26430.14 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LuceneDocsPlugins", "LuceneDocsPlugins\LuceneDocsPlugins.csproj", "{D5D1C256-4A5A-4C57-949D-E9A1FFB6A5D1}" diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDfmEngineCustomizer.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDfmEngineCustomizer.cs index 3da552a..f21c2b1 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDfmEngineCustomizer.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDfmEngineCustomizer.cs @@ -1,4 +1,23 @@ -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.Composition; using System.Diagnostics; diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDocsPlugins.csproj b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDocsPlugins.csproj index 2c771f8..44e90c8 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDocsPlugins.csproj +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneDocsPlugins.csproj @@ -1,4 +1,24 @@ <?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="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="..\packages\Microsoft.Net.Compilers.2.2.0\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.2.2.0\build\Microsoft.Net.Compilers.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockRule.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockRule.cs index 28af227..6a8c8fd 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockRule.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockRule.cs @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + using System.Text.RegularExpressions; using Microsoft.DocAsCode.MarkdownLite; diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockToken.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockToken.cs index 310ac80..3c80706 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockToken.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneNoteBlockToken.cs @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + using Microsoft.DocAsCode.MarkdownLite; namespace LuceneDocsPlugins diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneRendererPartProvider.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneRendererPartProvider.cs index 5ca2407..70bffda 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneRendererPartProvider.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneRendererPartProvider.cs @@ -1,4 +1,23 @@ -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.Composition; using Microsoft.DocAsCode.Dfm; diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneTokenRendererPart.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneTokenRendererPart.cs index 19140fe..c89965f 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneTokenRendererPart.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/LuceneTokenRendererPart.cs @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + using Microsoft.DocAsCode.Dfm; using Microsoft.DocAsCode.MarkdownLite; diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/Properties/AssemblyInfo.cs b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/Properties/AssemblyInfo.cs index 7c430c6..a2dbaa4 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/Properties/AssemblyInfo.cs +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/Properties/AssemblyInfo.cs @@ -1,4 +1,23 @@ -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; diff --git a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/packages.config b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/packages.config index 848589b..2f5f59f 100644 --- a/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/packages.config +++ b/src/docs/LuceneDocsPlugins/LuceneDocsPlugins/packages.config @@ -1,4 +1,24 @@ <?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. +--> + <packages> <package id="HtmlAgilityPack" version="1.4.9" targetFramework="net46" /> <package id="Microsoft.Composition" version="1.0.31" targetFramework="net461" /> diff --git a/src/dotnet/Lucene.Net.Tests.ICU/Support/JDKBreakIterator.cs b/src/dotnet/Lucene.Net.Tests.ICU/Support/JDKBreakIterator.cs index 169b04c..249f400 100644 --- a/src/dotnet/Lucene.Net.Tests.ICU/Support/JDKBreakIterator.cs +++ b/src/dotnet/Lucene.Net.Tests.ICU/Support/JDKBreakIterator.cs @@ -5,6 +5,23 @@ using System.Reflection; namespace Lucene.Net.Support { + /* + * 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> /// Static methods to create <see cref="BreakIterator"/> instances that behave (somewhat) like the JDK. /// It is recommended to either use the default ICU <see cref="BreakIterator"/> methods instead of these diff --git a/src/dotnet/Lucene.Net.Tests.ICU/Support/PostingsHighlighter.cs b/src/dotnet/Lucene.Net.Tests.ICU/Support/PostingsHighlighter.cs index 71bf5c3..71c6372 100644 --- a/src/dotnet/Lucene.Net.Tests.ICU/Support/PostingsHighlighter.cs +++ b/src/dotnet/Lucene.Net.Tests.ICU/Support/PostingsHighlighter.cs @@ -4,6 +4,23 @@ using System.Globalization; namespace Lucene.Net.Search.PostingsHighlight { + /* + * 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> /// Mock of the original Lucene <see cref="PostingsHighlighter"/> that is backed /// by a <see cref="JdkBreakIterator"/> with custom rules to act diff --git a/src/dotnet/Lucene.Net.Tests.ICU/Support/TestJDKBreakIterator.cs b/src/dotnet/Lucene.Net.Tests.ICU/Support/TestJDKBreakIterator.cs index 1e5efbe..aea820d 100644 --- a/src/dotnet/Lucene.Net.Tests.ICU/Support/TestJDKBreakIterator.cs +++ b/src/dotnet/Lucene.Net.Tests.ICU/Support/TestJDKBreakIterator.cs @@ -6,6 +6,23 @@ using System; namespace Lucene.Net.Tests.ICU.Support { + /* + * 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> /// Tests to ensure compatibility with JDK 7 /// </summary> diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/CodeLinkReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/CodeLinkReplacer.cs index 0d3cce2..a20ddc6 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/CodeLinkReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/CodeLinkReplacer.cs @@ -1,4 +1,23 @@ -using Html2Markdown.Replacement; +/* + * 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 Html2Markdown.Replacement; using System.Globalization; using System.Text.RegularExpressions; diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/DocTypeReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/DocTypeReplacer.cs index d488cbf..7e75dcc 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/DocTypeReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/DocTypeReplacer.cs @@ -1,4 +1,23 @@ -using Html2Markdown.Replacement; +/* + * 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 Html2Markdown.Replacement; using System.Text.RegularExpressions; namespace JavaDocToMarkdownConverter.Formatters diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/ExtraHtmlElementReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/ExtraHtmlElementReplacer.cs index 25677f7..044c7e5 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/ExtraHtmlElementReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/ExtraHtmlElementReplacer.cs @@ -1,4 +1,23 @@ -using Html2Markdown.Replacement; +/* + * 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 Html2Markdown.Replacement; using HtmlAgilityPack; using System.IO; using System.Text; diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/IReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/IReplacer.cs index 79d89ad..728bad7 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/IReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/IReplacer.cs @@ -1,4 +1,23 @@ -namespace JavaDocToMarkdownConverter.Formatters +/* + * 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. + */ + +namespace JavaDocToMarkdownConverter.Formatters { //This is exposed in the newer version of Html2Markdown but the later versions don't parse correctly so we have diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/JavaDocFormatters.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/JavaDocFormatters.cs index c3fbd10..609d6d9 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/JavaDocFormatters.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/JavaDocFormatters.cs @@ -1,4 +1,23 @@ -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; namespace JavaDocToMarkdownConverter.Formatters diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/PatternReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/PatternReplacer.cs index 27a7e35..609de9c 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/PatternReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/PatternReplacer.cs @@ -1,4 +1,23 @@ -using System.Text.RegularExpressions; +/* + * 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.Text.RegularExpressions; namespace JavaDocToMarkdownConverter.Formatters { diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/RepoLinkReplacer.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/RepoLinkReplacer.cs index 24ff096..1ccd5c5 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/RepoLinkReplacer.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Formatters/RepoLinkReplacer.cs @@ -1,4 +1,23 @@ -using Html2Markdown.Replacement; +/* + * 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 Html2Markdown.Replacement; using System.Text.RegularExpressions; namespace JavaDocToMarkdownConverter.Formatters diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/StringExtensions.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/StringExtensions.cs index eeda50b..d60d1f6 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/StringExtensions.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/StringExtensions.cs @@ -1,4 +1,23 @@ -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.Linq; using System.Text; using System.Text.RegularExpressions; diff --git a/websites/apidocs/lucenetemplate/styles/main.css b/websites/apidocs/lucenetemplate/styles/main.css index 252cdb1..f98614d 100644 --- a/websites/apidocs/lucenetemplate/styles/main.css +++ b/websites/apidocs/lucenetemplate/styles/main.css @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /* .navbar-inverse { background: #4a95da; background: rgb(44, 95, 163); diff --git a/websites/apidocs/lucenetemplate/styles/main.js b/websites/apidocs/lucenetemplate/styles/main.js index ad4722e..634b5c6 100644 --- a/websites/apidocs/lucenetemplate/styles/main.js +++ b/websites/apidocs/lucenetemplate/styles/main.js @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + $(function () { renderAlerts(); diff --git a/websites/apidocs/lucenetemplate/web.config b/websites/apidocs/lucenetemplate/web.config index f646909..51f0d98 100644 --- a/websites/apidocs/lucenetemplate/web.config +++ b/websites/apidocs/lucenetemplate/web.config @@ -1,4 +1,24 @@ <?xml version="1.0"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <configuration> <system.webServer> diff --git a/websites/site/lucenetemplate/styles/main.css b/websites/site/lucenetemplate/styles/main.css index 812bf28..06e4d9e 100644 --- a/websites/site/lucenetemplate/styles/main.css +++ b/websites/site/lucenetemplate/styles/main.css @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /* .navbar-inverse { background: #4a95da; background: rgb(44, 95, 163); diff --git a/websites/site/lucenetemplate/styles/site.css b/websites/site/lucenetemplate/styles/site.css index b4fe7f7..aa5f52a 100644 --- a/websites/site/lucenetemplate/styles/site.css +++ b/websites/site/lucenetemplate/styles/site.css @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /* START From hugo academic css */ #homepage section { font-family: 'Merriweather', serif; diff --git a/websites/site/lucenetemplate/web.config b/websites/site/lucenetemplate/web.config index f646909..51f0d98 100644 --- a/websites/site/lucenetemplate/web.config +++ b/websites/site/lucenetemplate/web.config @@ -1,4 +1,24 @@ <?xml version="1.0"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <configuration> <system.webServer>
