SWEEP: Added missing license headers
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/a22a9054 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/a22a9054 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/a22a9054 Branch: refs/heads/master Commit: a22a90541f3b931478653f0e529314225a8d362c Parents: a715cef Author: Shad Storhaug <[email protected]> Authored: Fri Oct 20 21:00:04 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Fri Oct 20 21:05:36 2017 +0700 ---------------------------------------------------------------------- Lucene.Net.sln | 20 +++++++++++++++- .../Analysis/Icu/ICUFoldingFilter.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUFoldingFilterFactory.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUNormalizer2CharFilter.cs | 17 ++++++++++++++ .../Icu/ICUNormalizer2CharFilterFactory.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUNormalizer2Filter.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUNormalizer2FilterFactory.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUTransformFilter.cs | 17 ++++++++++++++ .../Analysis/Icu/ICUTransformFilterFactory.cs | 17 ++++++++++++++ .../Icu/Segmentation/BreakIteratorWrapper.cs | 17 ++++++++++++++ .../Icu/Segmentation/CharArrayIterator.cs | 17 ++++++++++++++ .../Icu/Segmentation/CompositeBreakIterator.cs | 16 +++++++++++++ .../Segmentation/DefaultICUTokenizerConfig.cs | 16 +++++++++++++ .../Analysis/Icu/Segmentation/ICUTokenizer.cs | 16 +++++++++++++ .../Icu/Segmentation/ICUTokenizerConfig.cs | 17 ++++++++++++++ .../Icu/Segmentation/ICUTokenizerFactory.cs | 16 +++++++++++++ .../Analysis/Icu/Segmentation/ScriptIterator.cs | 17 ++++++++++++++ .../Icu/TokenAttributes/ScriptAttribute.cs | 17 ++++++++++++++ .../Icu/TokenAttributes/ScriptAttributeImpl.cs | 17 ++++++++++++++ .../Collation/ICUCollationAttributeFactory.cs | 17 ++++++++++++++ .../Collation/ICUCollationDocValuesField.cs | 17 ++++++++++++++ .../Collation/ICUCollationKeyAnalyzer.cs | 17 ++++++++++++++ .../Collation/ICUCollationKeyFilter.cs | 17 ++++++++++++++ .../Collation/ICUCollationKeyFilterFactory.cs | 17 ++++++++++++++ .../ICUCollatedTermAttributeImpl.cs | 17 ++++++++++++++ .../Properties/AssemblyInfo.cs | 20 +++++++++++++++- .../Support/EnglishNumberFormatExtensions.cs | 17 ++++++++++++++ .../Icu/Segmentation/TestCharArrayIterator.cs | 17 ++++++++++++++ .../Analysis/Icu/TestICUNormalizer2Filter.cs | 17 ++++++++++++++ .../Icu/TestICUNormalizer2FilterFactory.cs | 17 ++++++++++++++ .../Collation/TestICUCollationDocValuesField.cs | 17 ++++++++++++++ .../Collation/TestICUCollationKeyAnalyzer.cs | 17 ++++++++++++++ .../Collation/TestICUCollationKeyFilter.cs | 17 ++++++++++++++ .../TestICUCollationKeyFilterFactory.cs | 17 ++++++++++++++ .../Properties/AssemblyInfo.cs | 20 +++++++++++++++- .../Support/TestDictionaryExtensions.cs | 17 ++++++++++++++ src/Lucene.Net/Support/AssemblyUtils.cs | 17 ++++++++++++++ .../Lucene.Net.Replicator.AspNetCore.csproj | 21 +++++++++++++++++ .../JavaDocToMarkdownConverter.sln | 18 +++++++++++++++ .../JavaDocToMarkdownConverter/App.config | 20 ++++++++++++++++ .../JavaDocToMarkdownConverter/DocConverter.cs | 17 ++++++++++++++ .../JavaDocToMarkdownConverter.csproj | 20 ++++++++++++++++ .../JavaDocToMarkdownConverter/Program.cs | 17 ++++++++++++++ .../Properties/AssemblyInfo.cs | 24 +++++++++++++++++++- .../JavaDocToMarkdownConverter/packages.config | 20 ++++++++++++++++ .../Lucene.Net.Tests.Cli/EnvironmentTest.cs | 17 ++++++++++++++ .../Lucene.Net.Tests.Cli.csproj | 21 +++++++++++++++++ .../lucene-cli/CommandLine/CommandArgument.cs | 17 ++++++++++++++ .../CommandLine/CommandLineApplication.cs | 17 ++++++++++++++ .../lucene-cli/CommandLine/CommandOption.cs | 17 ++++++++++++++ .../lucene-cli/CommandLine/CommandOptionType.cs | 17 ++++++++++++++ .../CommandLine/CommandParsingException.cs | 17 ++++++++++++++ .../tools/lucene-cli/Resources/Strings.resx | 20 ++++++++++++++++ src/dotnet/tools/lucene-cli/lucene-cli.csproj | 21 +++++++++++++++++ 54 files changed, 951 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/Lucene.Net.sln ---------------------------------------------------------------------- diff --git a/Lucene.Net.sln b/Lucene.Net.sln index 3de7a58..d80ff61 100644 --- a/Lucene.Net.sln +++ b/Lucene.Net.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.26730.8 MinimumVisualStudioVersion = 15.0.26730.8 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dotnet", "dotnet", "{8CA61D33-3590-4024-A304-7B1F75B50653}" http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilter.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilter.cs index 4ca8278..17c467e 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilter.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilter.cs @@ -10,6 +10,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public sealed class ICUFoldingFilter : ICUNormalizer2Filter // { // private static readonly Normalizer2 normalizer; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilterFactory.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilterFactory.cs index c25cf93..782ab0f 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilterFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUFoldingFilterFactory.cs @@ -6,6 +6,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public class ICUFoldingFilterFactory : TokenFilterFactory, IMultiTermAwareComponent // { // /// <summary>Creates a new ICUFoldingFilterFactory</summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs index 4254298..f2bc75c 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilter.cs @@ -11,6 +11,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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> // /// Normalize token text with ICU's <see cref="Normalizer2"/>. // /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilterFactory.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilterFactory.cs index bd4cbe5..d0c8823 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilterFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2CharFilterFactory.cs @@ -12,6 +12,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public class ICUNormalizer2CharFilterFactory : CharFilterFactory, IMultiTermAwareComponent // { // private readonly Normalizer2 normalizer; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2Filter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2Filter.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2Filter.cs index bca3d24..d60d8cd 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2Filter.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2Filter.cs @@ -6,6 +6,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public class ICUNormalizer2Filter : TokenFilter // { // private readonly ICharTermAttribute termAtt; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2FilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2FilterFactory.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2FilterFactory.cs index c17fb7f..4c20443 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2FilterFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUNormalizer2FilterFactory.cs @@ -9,6 +9,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public class ICUNormalizer2FilterFactory : TokenFilterFactory, IMultiTermAwareComponent // { // private readonly Normalizer2 normalizer; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilter.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilter.cs index 7f22c3d..ddf5b69 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilter.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilter.cs @@ -4,6 +4,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public sealed class ICUTransformFilter : TokenFilter // { // // Transliterator to transform the text http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilterFactory.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilterFactory.cs index 081ebf5..f53be82 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilterFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/ICUTransformFilterFactory.cs @@ -6,6 +6,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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. +// */ + // public class ICUTransformFilterFactory : TokenFilterFactory, IMultiTermAwareComponent // { // private readonly Transliterator transliterator; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/BreakIteratorWrapper.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/BreakIteratorWrapper.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/BreakIteratorWrapper.cs index c124a88..fa367e6 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/BreakIteratorWrapper.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/BreakIteratorWrapper.cs @@ -11,6 +11,23 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// Contain all the issues surrounding BreakIterators in ICU in one place. // /// Basically this boils down to the fact that they aren't very friendly to any http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CharArrayIterator.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CharArrayIterator.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CharArrayIterator.cs index e56194a..d9446ab 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CharArrayIterator.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CharArrayIterator.cs @@ -5,6 +5,23 @@ using System.Diagnostics.CodeAnalysis; namespace Lucene.Net.Analysis.Icu.Segmentation { + /* + * 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> /// Wraps a char[] as CharacterIterator for processing with a BreakIterator /// <para/> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CompositeBreakIterator.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CompositeBreakIterator.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CompositeBreakIterator.cs index a004193..5126aed 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CompositeBreakIterator.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/CompositeBreakIterator.cs @@ -8,6 +8,22 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// An internal BreakIterator for multilingual text, following recommendations // /// from: UAX #29: Unicode Text Segmentation. (http://unicode.org/reports/tr29/) http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs index fc2a989..4e05cad 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs @@ -13,6 +13,22 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// Default <see cref="ICUTokenizerConfig"/> that is generally applicable // /// to many languages. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizer.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizer.cs index 7677c0c..7701a84 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizer.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizer.cs @@ -12,6 +12,22 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// Breaks text into words according to UAX #29: Unicode Text Segmentation // /// (http://www.unicode.org/reports/tr29/) http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerConfig.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerConfig.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerConfig.cs index 0c13316..532e3ea 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerConfig.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerConfig.cs @@ -4,6 +4,23 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// Class that allows for tailored Unicode Text Segmentation on // /// a per-writing system basis. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerFactory.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerFactory.cs index 14aa9c0..65d4629 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ICUTokenizerFactory.cs @@ -14,6 +14,22 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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. +// */ // public class ICUTokenizerFactory : TokenizerFactory, IResourceLoaderAware // { http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ScriptIterator.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ScriptIterator.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ScriptIterator.cs index f328851..1b85f32 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ScriptIterator.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/ScriptIterator.cs @@ -9,6 +9,23 @@ //namespace Lucene.Net.Analysis.ICU.Segmentation //{ +// /* +// * 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> // /// An iterator that locates ISO 15924 script boundaries in text. // /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttribute.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttribute.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttribute.cs index abc1ae2..64e3841 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttribute.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttribute.cs @@ -9,6 +9,23 @@ //namespace Lucene.Net.Analysis.ICU.TokenAttributes //{ +// /* +// * 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> // /// This attribute stores the UTR #24 script value for a token of text. // /// <para/> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttributeImpl.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttributeImpl.cs b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttributeImpl.cs index f97ccf1..70824e1 100644 --- a/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttributeImpl.cs +++ b/src/Lucene.Net.Analysis.ICU/Analysis/Icu/TokenAttributes/ScriptAttributeImpl.cs @@ -8,6 +8,23 @@ //namespace Lucene.Net.Analysis.ICU.TokenAttributes //{ +// /* +// * 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> // /// Implementation of <see cref="IScriptAttribute"/> that stores the script // /// as an integer. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationAttributeFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationAttributeFactory.cs b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationAttributeFactory.cs index abdd83f..38d871a 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationAttributeFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationAttributeFactory.cs @@ -11,6 +11,23 @@ using SortKey = System.Globalization.SortKey; namespace Lucene.Net.Collation { + /* + * 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> /// Converts each token into its <see cref="SortKey"/>, and /// then encodes bytes as an index term. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationDocValuesField.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationDocValuesField.cs b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationDocValuesField.cs index 9016c60..f87b2f6 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationDocValuesField.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationDocValuesField.cs @@ -11,6 +11,23 @@ using SortKey = System.Globalization.SortKey; namespace Lucene.Net.Collation { + /* + * 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> /// Indexes sort keys as a single-valued <see cref="SortedDocValuesField"/>. /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyAnalyzer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyAnalyzer.cs b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyAnalyzer.cs index 45add6b..7aae15e 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyAnalyzer.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyAnalyzer.cs @@ -13,6 +13,23 @@ using SortKey = System.Globalization.SortKey; namespace Lucene.Net.Collation { + /* + * 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> /// Configures <see cref="KeywordTokenizer"/> with <see cref="ICUCollationAttributeFactory"/>. /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilter.cs b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilter.cs index 85986f3..42affe2 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilter.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilter.cs @@ -12,6 +12,23 @@ using SortKey = System.Globalization.SortKey; namespace Lucene.Net.Collation { + /* + * 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> /// Converts each token into its <see cref="SortKey"/>, and /// then encodes the <see cref="SortKey"/> with <see cref="IndexableBinaryStringTools"/>, to http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilterFactory.cs b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilterFactory.cs index 7ecf357..1609e14 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilterFactory.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/ICUCollationKeyFilterFactory.cs @@ -10,6 +10,23 @@ using System.Text; namespace Lucene.Net.Collation { + /* + * 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> /// Factory for <see cref="ICUCollationKeyFilter"/>. /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Analysis.ICU/Collation/TokenAttributes/ICUCollatedTermAttributeImpl.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.ICU/Collation/TokenAttributes/ICUCollatedTermAttributeImpl.cs b/src/Lucene.Net.Analysis.ICU/Collation/TokenAttributes/ICUCollatedTermAttributeImpl.cs index 5bc7b85..ca99bd3 100644 --- a/src/Lucene.Net.Analysis.ICU/Collation/TokenAttributes/ICUCollatedTermAttributeImpl.cs +++ b/src/Lucene.Net.Analysis.ICU/Collation/TokenAttributes/ICUCollatedTermAttributeImpl.cs @@ -10,6 +10,23 @@ using SortKey = System.Globalization.SortKey; namespace Lucene.Net.Collation.TokenAttributes { + /* + * 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> /// Extension of <see cref="CharTermAttribute"/> that encodes the term /// text as a binary Unicode collation key instead of as UTF-8 bytes. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Benchmark/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Benchmark/Properties/AssemblyInfo.cs b/src/Lucene.Net.Benchmark/Properties/AssemblyInfo.cs index 9befb55..603d4df 100644 --- a/src/Lucene.Net.Benchmark/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Benchmark/Properties/AssemblyInfo.cs @@ -1,4 +1,22 @@ -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.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Benchmark/Support/EnglishNumberFormatExtensions.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Benchmark/Support/EnglishNumberFormatExtensions.cs b/src/Lucene.Net.Benchmark/Support/EnglishNumberFormatExtensions.cs index 1d99a8b..881f421 100644 --- a/src/Lucene.Net.Benchmark/Support/EnglishNumberFormatExtensions.cs +++ b/src/Lucene.Net.Benchmark/Support/EnglishNumberFormatExtensions.cs @@ -3,6 +3,23 @@ using System.Text; 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> /// Extension methods to spell out numbers into English. /// <para/> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/Segmentation/TestCharArrayIterator.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/Segmentation/TestCharArrayIterator.cs b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/Segmentation/TestCharArrayIterator.cs index e451647..01ee15a 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/Segmentation/TestCharArrayIterator.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/Segmentation/TestCharArrayIterator.cs @@ -6,6 +6,23 @@ using System; namespace Lucene.Net.Analysis.Icu.Segmentation { + /* + * 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. + */ + public class TestCharArrayIterator : LuceneTestCase { [Test] http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2Filter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2Filter.cs b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2Filter.cs index da7cf0f..1f2454a 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2Filter.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2Filter.cs @@ -7,6 +7,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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 the ICUNormalizer2Filter // /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2FilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2FilterFactory.cs b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2FilterFactory.cs index 8ee65a1..1b6a4ec 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2FilterFactory.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUNormalizer2FilterFactory.cs @@ -7,6 +7,23 @@ //namespace Lucene.Net.Analysis.ICU //{ +// /* +// * 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> // /// basic tests for <see cref="ICUNormalizer2FilterFactory"/> // /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationDocValuesField.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationDocValuesField.cs b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationDocValuesField.cs index ecfbdf6..60c6ea3 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationDocValuesField.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationDocValuesField.cs @@ -10,6 +10,23 @@ using System.Globalization; namespace Lucene.Net.Collation { + /* + * 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> /// trivial test of ICUCollationDocValuesField /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs index 1edc777..848e9f1 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs @@ -6,6 +6,23 @@ using System.Globalization; namespace Lucene.Net.Collation { + /* + * 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. + */ + [SuppressCodecs("Lucene3x")] public class TestICUCollationKeyAnalyzer : CollationTestBase { http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilter.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilter.cs b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilter.cs index a8a8cba..78cd7ba 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilter.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilter.cs @@ -9,6 +9,23 @@ using System.IO; namespace Lucene.Net.Collation { + /* + * 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. + */ + [Obsolete("remove this when ICUCollationKeyFilter is removed")] public class TestICUCollationKeyFilter : CollationTestBase { http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilterFactory.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilterFactory.cs b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilterFactory.cs index 80aa910..7a8d974 100644 --- a/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilterFactory.cs +++ b/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyFilterFactory.cs @@ -13,6 +13,23 @@ using System.Text; namespace Lucene.Net.Collation { + /* + * 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. + */ + [Obsolete] public class TestICUCollationKeyFilterFactory : BaseTokenStreamTestCase { http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net.Tests.Benchmark/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Benchmark/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Benchmark/Properties/AssemblyInfo.cs index a0a61ed..b83663f 100644 --- a/src/Lucene.Net.Tests.Benchmark/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net.Tests.Benchmark/Properties/AssemblyInfo.cs @@ -1,4 +1,22 @@ -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/a22a9054/src/Lucene.Net.Tests/Support/TestDictionaryExtensions.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests/Support/TestDictionaryExtensions.cs b/src/Lucene.Net.Tests/Support/TestDictionaryExtensions.cs index 540d964..7a8a258 100644 --- a/src/Lucene.Net.Tests/Support/TestDictionaryExtensions.cs +++ b/src/Lucene.Net.Tests/Support/TestDictionaryExtensions.cs @@ -11,6 +11,23 @@ using System.Threading.Tasks; namespace Lucene.Net.Tests.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. + */ + public class TestDictionaryExtensions : LuceneTestCase { [Test] http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/Lucene.Net/Support/AssemblyUtils.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/AssemblyUtils.cs b/src/Lucene.Net/Support/AssemblyUtils.cs index 4d91f9e..7805eca 100644 --- a/src/Lucene.Net/Support/AssemblyUtils.cs +++ b/src/Lucene.Net/Support/AssemblyUtils.cs @@ -8,6 +8,23 @@ using Microsoft.Extensions.DependencyModel; 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> /// Methods for working with Assemblies. /// </summary> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj ---------------------------------------------------------------------- diff --git a/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj b/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj index b259315..2aed228 100644 --- a/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj +++ b/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj @@ -1,3 +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 Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\Version.proj" /> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.sln ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.sln b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.sln index db3cd1a..d933119 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.sln +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.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.15 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JavaDocToMarkdownConverter", "JavaDocToMarkdownConverter\JavaDocToMarkdownConverter.csproj", "{874179E7-FDA4-4E5B-9F86-54917BB6F74F}" http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/App.config ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/App.config b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/App.config index 5326edb..8587218 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/App.config +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/App.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. + +--> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/DocConverter.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/DocConverter.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/DocConverter.cs index 4ac7420..badf7a1 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/DocConverter.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/DocConverter.cs @@ -8,6 +8,23 @@ using System.Threading.Tasks; namespace JavaDocToMarkdownConverter { + /* + * 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. + */ + public class DocConverter { private static Regex LinkRegex = new Regex(@"{@link\s*?(?<cref>org\.apache\.lucene\.[^}]*)\s?(?<text>[^}]*)}", RegexOptions.Compiled); http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.csproj ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.csproj b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.csproj index 81f1f4c..381aa73 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.csproj +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter.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="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs index cbec5a4..2b87daf 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs @@ -6,6 +6,23 @@ using System.Threading.Tasks; namespace JavaDocToMarkdownConverter { + /* + * 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. + */ + class Program { static void Main(string[] args) http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Properties/AssemblyInfo.cs b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Properties/AssemblyInfo.cs index c715516..b261498 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Properties/AssemblyInfo.cs +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Properties/AssemblyInfo.cs @@ -1,4 +1,26 @@ -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/a22a9054/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/packages.config ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/packages.config b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/packages.config index a81433d..d536191 100644 --- a/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/packages.config +++ b/src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/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="Html2Markdown" version="3.0.0.223" targetFramework="net461" /> <package id="HtmlAgilityPack.NetCore" version="1.5.0.1" targetFramework="net461" /> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs b/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs index 4a56fcd..06c9f67 100644 --- a/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs +++ b/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs @@ -4,6 +4,23 @@ using NUnit.Framework; namespace Lucene.Net.Cli { + /* + * 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. + */ + public class EnvironmentTest { [Test] http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj b/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj index 363e65a..faa72f0 100644 --- a/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj +++ b/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj @@ -1,3 +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 Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\..\Version.proj" /> http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/lucene-cli/CommandLine/CommandArgument.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/lucene-cli/CommandLine/CommandArgument.cs b/src/dotnet/tools/lucene-cli/CommandLine/CommandArgument.cs index b7081e0..d297353 100644 --- a/src/dotnet/tools/lucene-cli/CommandLine/CommandArgument.cs +++ b/src/dotnet/tools/lucene-cli/CommandLine/CommandArgument.cs @@ -6,6 +6,23 @@ using System.Linq; namespace Lucene.Net.Cli.CommandLine { + /* + * 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. + */ + public class CommandArgument { public CommandArgument() http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/lucene-cli/CommandLine/CommandLineApplication.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/lucene-cli/CommandLine/CommandLineApplication.cs b/src/dotnet/tools/lucene-cli/CommandLine/CommandLineApplication.cs index 1c9ca7d..7ac7a9c 100644 --- a/src/dotnet/tools/lucene-cli/CommandLine/CommandLineApplication.cs +++ b/src/dotnet/tools/lucene-cli/CommandLine/CommandLineApplication.cs @@ -12,6 +12,23 @@ using Console = Lucene.Net.Support.SystemConsole; namespace Lucene.Net.Cli.CommandLine { + /* + * 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. + */ + public class CommandLineApplication { // Indicates whether the parser should throw an exception when it runs into an unexpected argument. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/lucene-cli/CommandLine/CommandOption.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/lucene-cli/CommandLine/CommandOption.cs b/src/dotnet/tools/lucene-cli/CommandLine/CommandOption.cs index 16c1025..27c5f00 100644 --- a/src/dotnet/tools/lucene-cli/CommandLine/CommandOption.cs +++ b/src/dotnet/tools/lucene-cli/CommandLine/CommandOption.cs @@ -7,6 +7,23 @@ using System.Linq; namespace Lucene.Net.Cli.CommandLine { + /* + * 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. + */ + public class CommandOption { public CommandOption(string template, CommandOptionType optionType) http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/lucene-cli/CommandLine/CommandOptionType.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/lucene-cli/CommandLine/CommandOptionType.cs b/src/dotnet/tools/lucene-cli/CommandLine/CommandOptionType.cs index ef541e4..5035d65 100644 --- a/src/dotnet/tools/lucene-cli/CommandLine/CommandOptionType.cs +++ b/src/dotnet/tools/lucene-cli/CommandLine/CommandOptionType.cs @@ -3,6 +3,23 @@ namespace Lucene.Net.Cli.CommandLine { + /* + * 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. + */ + public enum CommandOptionType { MultipleValue, http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a22a9054/src/dotnet/tools/lucene-cli/CommandLine/CommandParsingException.cs ---------------------------------------------------------------------- diff --git a/src/dotnet/tools/lucene-cli/CommandLine/CommandParsingException.cs b/src/dotnet/tools/lucene-cli/CommandLine/CommandParsingException.cs index bd2446a..23de45d 100644 --- a/src/dotnet/tools/lucene-cli/CommandLine/CommandParsingException.cs +++ b/src/dotnet/tools/lucene-cli/CommandLine/CommandParsingException.cs @@ -5,6 +5,23 @@ using System; namespace Lucene.Net.Cli.CommandLine { + /* + * 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. + */ + public class CommandParsingException : Exception { public CommandParsingException(CommandLineApplication command, string message)
