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 e46686920363d3bdde375e4b9684a84d83d88e0d Author: Shad Storhaug <[email protected]> AuthorDate: Sat Nov 5 23:42:36 2022 +0700 SWEEP: Changed all protected internal constructors of abstract classes to protected. (fixes #677) --- src/Lucene.Net.Codecs/IntBlock/VariableIntBlockIndexInput.cs | 2 +- src/Lucene.Net.Facet/Taxonomy/TaxonomyFacets.cs | 2 +- src/Lucene.Net/Analysis/AnalyzerWrapper.cs | 6 +++--- src/Lucene.Net/Analysis/TokenFilter.cs | 4 ++-- src/Lucene.Net/Analysis/Tokenizer.cs | 4 ++-- src/Lucene.Net/Codecs/Compressing/CompressionMode.cs | 4 ++-- src/Lucene.Net/Codecs/Compressing/Compressor.cs | 4 ++-- src/Lucene.Net/Codecs/Compressing/Decompressor.cs | 2 +- src/Lucene.Net/Codecs/DocValuesConsumer.cs | 4 ++-- src/Lucene.Net/Codecs/DocValuesProducer.cs | 4 ++-- src/Lucene.Net/Codecs/FieldInfosFormat.cs | 4 ++-- src/Lucene.Net/Codecs/FieldInfosReader.cs | 4 ++-- src/Lucene.Net/Codecs/FieldInfosWriter.cs | 4 ++-- src/Lucene.Net/Codecs/FieldsConsumer.cs | 4 ++-- src/Lucene.Net/Codecs/FieldsProducer.cs | 4 ++-- src/Lucene.Net/Codecs/FilterCodec.cs | 4 ++-- src/Lucene.Net/Codecs/LiveDocsFormat.cs | 4 ++-- src/Lucene.Net/Codecs/NormsFormat.cs | 4 ++-- src/Lucene.Net/Codecs/PostingsBaseFormat.cs | 4 ++-- src/Lucene.Net/Codecs/PostingsConsumer.cs | 4 ++-- src/Lucene.Net/Codecs/PostingsReaderBase.cs | 4 ++-- src/Lucene.Net/Codecs/PostingsWriterBase.cs | 4 ++-- src/Lucene.Net/Codecs/SegmentInfoFormat.cs | 4 ++-- src/Lucene.Net/Codecs/SegmentInfoReader.cs | 4 ++-- src/Lucene.Net/Codecs/SegmentInfoWriter.cs | 4 ++-- src/Lucene.Net/Codecs/StoredFieldsFormat.cs | 4 ++-- src/Lucene.Net/Codecs/StoredFieldsReader.cs | 2 +- src/Lucene.Net/Codecs/StoredFieldsWriter.cs | 4 ++-- src/Lucene.Net/Codecs/TermVectorsFormat.cs | 4 ++-- src/Lucene.Net/Codecs/TermVectorsReader.cs | 2 +- src/Lucene.Net/Codecs/TermVectorsWriter.cs | 2 +- src/Lucene.Net/Codecs/TermsConsumer.cs | 2 +- src/Lucene.Net/Index/CompositeReader.cs | 4 ++-- src/Lucene.Net/Store/BaseDirectory.cs | 2 +- src/Lucene.Net/Store/FSDirectory.cs | 2 +- 35 files changed, 62 insertions(+), 62 deletions(-) diff --git a/src/Lucene.Net.Codecs/IntBlock/VariableIntBlockIndexInput.cs b/src/Lucene.Net.Codecs/IntBlock/VariableIntBlockIndexInput.cs index 858626023..495169751 100644 --- a/src/Lucene.Net.Codecs/IntBlock/VariableIntBlockIndexInput.cs +++ b/src/Lucene.Net.Codecs/IntBlock/VariableIntBlockIndexInput.cs @@ -48,7 +48,7 @@ namespace Lucene.Net.Codecs.IntBlock private readonly IndexInput input; protected readonly int m_maxBlockSize; - protected internal VariableInt32BlockIndexInput(IndexInput input) + protected VariableInt32BlockIndexInput(IndexInput input) { this.input = input; m_maxBlockSize = input.ReadInt32(); diff --git a/src/Lucene.Net.Facet/Taxonomy/TaxonomyFacets.cs b/src/Lucene.Net.Facet/Taxonomy/TaxonomyFacets.cs index 6eb62ecef..12ec5aaa0 100644 --- a/src/Lucene.Net.Facet/Taxonomy/TaxonomyFacets.cs +++ b/src/Lucene.Net.Facet/Taxonomy/TaxonomyFacets.cs @@ -76,7 +76,7 @@ namespace Lucene.Net.Facet.Taxonomy /// <summary> /// Sole constructor. /// </summary> - protected internal TaxonomyFacets(string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) + protected TaxonomyFacets(string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) { this.m_indexFieldName = indexFieldName; this.m_taxoReader = taxoReader; diff --git a/src/Lucene.Net/Analysis/AnalyzerWrapper.cs b/src/Lucene.Net/Analysis/AnalyzerWrapper.cs index 5b41ed297..881785ed5 100644 --- a/src/Lucene.Net/Analysis/AnalyzerWrapper.cs +++ b/src/Lucene.Net/Analysis/AnalyzerWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Lucene.Net.Analysis @@ -38,7 +38,7 @@ namespace Lucene.Net.Analysis /// the wrapped <see cref="Analyzer"/>s are unknown, <see cref="Analyzer.PER_FIELD_REUSE_STRATEGY"/> is assumed. /// </summary> [Obsolete("Use AnalyzerWrapper(Analyzer.ReuseStrategy) and specify a valid Analyzer.ReuseStrategy, probably retrieved from the wrapped analyzer using Analyzer.Strategy.")] - protected internal AnalyzerWrapper() + protected AnalyzerWrapper() : this(PER_FIELD_REUSE_STRATEGY) { } @@ -52,7 +52,7 @@ namespace Lucene.Net.Analysis /// <see cref="Analyzer.PER_FIELD_REUSE_STRATEGY"/>. /// </summary> /// <seealso cref="Analyzer.Strategy"/> - protected internal AnalyzerWrapper(ReuseStrategy reuseStrategy) + protected AnalyzerWrapper(ReuseStrategy reuseStrategy) : base(reuseStrategy) { } diff --git a/src/Lucene.Net/Analysis/TokenFilter.cs b/src/Lucene.Net/Analysis/TokenFilter.cs index 2b2d6c6f9..400a6ddf8 100644 --- a/src/Lucene.Net/Analysis/TokenFilter.cs +++ b/src/Lucene.Net/Analysis/TokenFilter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; namespace Lucene.Net.Analysis @@ -34,7 +34,7 @@ namespace Lucene.Net.Analysis /// <summary> /// Construct a token stream filtering the given input. </summary> - protected internal TokenFilter(TokenStream input) + protected TokenFilter(TokenStream input) : base(input) { this.m_input = input; diff --git a/src/Lucene.Net/Analysis/Tokenizer.cs b/src/Lucene.Net/Analysis/Tokenizer.cs index cd735b769..fc49d4871 100644 --- a/src/Lucene.Net/Analysis/Tokenizer.cs +++ b/src/Lucene.Net/Analysis/Tokenizer.cs @@ -42,7 +42,7 @@ namespace Lucene.Net.Analysis /// <summary> /// Construct a token stream processing the given input. </summary> - protected internal Tokenizer(TextReader input) + protected Tokenizer(TextReader input) { this.inputPending = input ?? throw new ArgumentNullException(nameof(input), "input must not be null"); // LUCENENET specific - changed from IllegalArgumentException to ArgumentNullException (.NET convention) } @@ -50,7 +50,7 @@ namespace Lucene.Net.Analysis /// <summary> /// Construct a token stream processing the given input using the given <see cref="Util.AttributeSource.AttributeFactory"/>. /// </summary> - protected internal Tokenizer(AttributeFactory factory, TextReader input) + protected Tokenizer(AttributeFactory factory, TextReader input) : base(factory) { this.inputPending = input ?? throw new ArgumentNullException(nameof(input), "input must not be null"); // LUCENENET specific - changed from IllegalArgumentException to ArgumentNullException (.NET convention) diff --git a/src/Lucene.Net/Codecs/Compressing/CompressionMode.cs b/src/Lucene.Net/Codecs/Compressing/CompressionMode.cs index a92d7dc7a..eef4fb2c7 100644 --- a/src/Lucene.Net/Codecs/Compressing/CompressionMode.cs +++ b/src/Lucene.Net/Codecs/Compressing/CompressionMode.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Diagnostics; +using Lucene.Net.Diagnostics; using System.IO; using System.IO.Compression; using System.Runtime.CompilerServices; @@ -125,7 +125,7 @@ namespace Lucene.Net.Codecs.Compressing /// <summary> /// Sole constructor. </summary> - protected internal CompressionMode() + protected CompressionMode() { } diff --git a/src/Lucene.Net/Codecs/Compressing/Compressor.cs b/src/Lucene.Net/Codecs/Compressing/Compressor.cs index 0f0e5230e..dc08a0af0 100644 --- a/src/Lucene.Net/Codecs/Compressing/Compressor.cs +++ b/src/Lucene.Net/Codecs/Compressing/Compressor.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs.Compressing +namespace Lucene.Net.Codecs.Compressing { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -26,7 +26,7 @@ namespace Lucene.Net.Codecs.Compressing { /// <summary> /// Sole constructor, typically called from sub-classes. </summary> - protected internal Compressor() + protected Compressor() { } diff --git a/src/Lucene.Net/Codecs/Compressing/Decompressor.cs b/src/Lucene.Net/Codecs/Compressing/Decompressor.cs index a0e0d2e11..dd2bd3683 100644 --- a/src/Lucene.Net/Codecs/Compressing/Decompressor.cs +++ b/src/Lucene.Net/Codecs/Compressing/Decompressor.cs @@ -29,7 +29,7 @@ namespace Lucene.Net.Codecs.Compressing { /// <summary> /// Sole constructor, typically called from sub-classes. </summary> - protected internal Decompressor() + protected Decompressor() { } diff --git a/src/Lucene.Net/Codecs/DocValuesConsumer.cs b/src/Lucene.Net/Codecs/DocValuesConsumer.cs index 8f055b0e9..e3f8ba742 100644 --- a/src/Lucene.Net/Codecs/DocValuesConsumer.cs +++ b/src/Lucene.Net/Codecs/DocValuesConsumer.cs @@ -1,4 +1,4 @@ -using J2N.Collections.Generic.Extensions; +using J2N.Collections.Generic.Extensions; using Lucene.Net.Diagnostics; using System; using System.Collections.Generic; @@ -66,7 +66,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal DocValuesConsumer() + protected DocValuesConsumer() { } diff --git a/src/Lucene.Net/Codecs/DocValuesProducer.cs b/src/Lucene.Net/Codecs/DocValuesProducer.cs index f4da0f855..273bd0d66 100644 --- a/src/Lucene.Net/Codecs/DocValuesProducer.cs +++ b/src/Lucene.Net/Codecs/DocValuesProducer.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Lucene.Net.Codecs { @@ -38,7 +38,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal DocValuesProducer() + protected DocValuesProducer() { } diff --git a/src/Lucene.Net/Codecs/FieldInfosFormat.cs b/src/Lucene.Net/Codecs/FieldInfosFormat.cs index 30215f282..eebff52a2 100644 --- a/src/Lucene.Net/Codecs/FieldInfosFormat.cs +++ b/src/Lucene.Net/Codecs/FieldInfosFormat.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -30,7 +30,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal FieldInfosFormat() + protected FieldInfosFormat() { } diff --git a/src/Lucene.Net/Codecs/FieldInfosReader.cs b/src/Lucene.Net/Codecs/FieldInfosReader.cs index 8014e3399..2c7af4fb8 100644 --- a/src/Lucene.Net/Codecs/FieldInfosReader.cs +++ b/src/Lucene.Net/Codecs/FieldInfosReader.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -32,7 +32,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal FieldInfosReader() + protected FieldInfosReader() { } diff --git a/src/Lucene.Net/Codecs/FieldInfosWriter.cs b/src/Lucene.Net/Codecs/FieldInfosWriter.cs index 92bfe0760..c1210a12e 100644 --- a/src/Lucene.Net/Codecs/FieldInfosWriter.cs +++ b/src/Lucene.Net/Codecs/FieldInfosWriter.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -32,7 +32,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal FieldInfosWriter() + protected FieldInfosWriter() { } diff --git a/src/Lucene.Net/Codecs/FieldsConsumer.cs b/src/Lucene.Net/Codecs/FieldsConsumer.cs index 9afa1d759..9ca4f1870 100644 --- a/src/Lucene.Net/Codecs/FieldsConsumer.cs +++ b/src/Lucene.Net/Codecs/FieldsConsumer.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Diagnostics; +using Lucene.Net.Diagnostics; using System; using System.Diagnostics; using System.Runtime.CompilerServices; @@ -52,7 +52,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal FieldsConsumer() + protected FieldsConsumer() { } diff --git a/src/Lucene.Net/Codecs/FieldsProducer.cs b/src/Lucene.Net/Codecs/FieldsProducer.cs index 5b9067b68..cd3c9910e 100644 --- a/src/Lucene.Net/Codecs/FieldsProducer.cs +++ b/src/Lucene.Net/Codecs/FieldsProducer.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Lucene.Net.Codecs { @@ -33,7 +33,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal FieldsProducer() + protected FieldsProducer() { } diff --git a/src/Lucene.Net/Codecs/FilterCodec.cs b/src/Lucene.Net/Codecs/FilterCodec.cs index 95c8d8b61..5c4a91f14 100644 --- a/src/Lucene.Net/Codecs/FilterCodec.cs +++ b/src/Lucene.Net/Codecs/FilterCodec.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -58,7 +58,7 @@ namespace Lucene.Net.Codecs /// create a no-arg ctor and pass the delegate codec /// and a unique name to this ctor. /// </summary> - protected internal FilterCodec(Codec @delegate) + protected FilterCodec(Codec @delegate) : base() { this.m_delegate = @delegate; diff --git a/src/Lucene.Net/Codecs/LiveDocsFormat.cs b/src/Lucene.Net/Codecs/LiveDocsFormat.cs index 1a78fdd80..877ef2557 100644 --- a/src/Lucene.Net/Codecs/LiveDocsFormat.cs +++ b/src/Lucene.Net/Codecs/LiveDocsFormat.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Lucene.Net.Codecs @@ -37,7 +37,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal LiveDocsFormat() + protected LiveDocsFormat() { } diff --git a/src/Lucene.Net/Codecs/NormsFormat.cs b/src/Lucene.Net/Codecs/NormsFormat.cs index 8ab85d95d..ec5507588 100644 --- a/src/Lucene.Net/Codecs/NormsFormat.cs +++ b/src/Lucene.Net/Codecs/NormsFormat.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; namespace Lucene.Net.Codecs { @@ -31,7 +31,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal NormsFormat() + protected NormsFormat() { } diff --git a/src/Lucene.Net/Codecs/PostingsBaseFormat.cs b/src/Lucene.Net/Codecs/PostingsBaseFormat.cs index a783fa5f9..8eb86979a 100644 --- a/src/Lucene.Net/Codecs/PostingsBaseFormat.cs +++ b/src/Lucene.Net/Codecs/PostingsBaseFormat.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -43,7 +43,7 @@ namespace Lucene.Net.Codecs /// <summary> /// Sole constructor. </summary> - protected internal PostingsBaseFormat(string name) + protected PostingsBaseFormat(string name) { this.Name = name; } diff --git a/src/Lucene.Net/Codecs/PostingsConsumer.cs b/src/Lucene.Net/Codecs/PostingsConsumer.cs index 9e11d1ecc..d4d6d5ef7 100644 --- a/src/Lucene.Net/Codecs/PostingsConsumer.cs +++ b/src/Lucene.Net/Codecs/PostingsConsumer.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Diagnostics; +using Lucene.Net.Diagnostics; using Lucene.Net.Index; using System.Diagnostics; using System.Runtime.CompilerServices; @@ -55,7 +55,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal PostingsConsumer() + protected PostingsConsumer() { } diff --git a/src/Lucene.Net/Codecs/PostingsReaderBase.cs b/src/Lucene.Net/Codecs/PostingsReaderBase.cs index 38cdb488b..c21bc2b41 100644 --- a/src/Lucene.Net/Codecs/PostingsReaderBase.cs +++ b/src/Lucene.Net/Codecs/PostingsReaderBase.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Index; +using Lucene.Net.Index; using System; namespace Lucene.Net.Codecs @@ -49,7 +49,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal PostingsReaderBase() + protected PostingsReaderBase() { } diff --git a/src/Lucene.Net/Codecs/PostingsWriterBase.cs b/src/Lucene.Net/Codecs/PostingsWriterBase.cs index 55b1e3324..5e5607b76 100644 --- a/src/Lucene.Net/Codecs/PostingsWriterBase.cs +++ b/src/Lucene.Net/Codecs/PostingsWriterBase.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Lucene.Net.Codecs { @@ -44,7 +44,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal PostingsWriterBase() + protected PostingsWriterBase() { } diff --git a/src/Lucene.Net/Codecs/SegmentInfoFormat.cs b/src/Lucene.Net/Codecs/SegmentInfoFormat.cs index 7e1b7854a..2795f8cf7 100644 --- a/src/Lucene.Net/Codecs/SegmentInfoFormat.cs +++ b/src/Lucene.Net/Codecs/SegmentInfoFormat.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -32,7 +32,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal SegmentInfoFormat() + protected SegmentInfoFormat() { } diff --git a/src/Lucene.Net/Codecs/SegmentInfoReader.cs b/src/Lucene.Net/Codecs/SegmentInfoReader.cs index 17b45d106..335e42bed 100644 --- a/src/Lucene.Net/Codecs/SegmentInfoReader.cs +++ b/src/Lucene.Net/Codecs/SegmentInfoReader.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; namespace Lucene.Net.Codecs { @@ -34,7 +34,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal SegmentInfoReader() + protected SegmentInfoReader() { } diff --git a/src/Lucene.Net/Codecs/SegmentInfoWriter.cs b/src/Lucene.Net/Codecs/SegmentInfoWriter.cs index f1d86d26b..56fa93736 100644 --- a/src/Lucene.Net/Codecs/SegmentInfoWriter.cs +++ b/src/Lucene.Net/Codecs/SegmentInfoWriter.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; namespace Lucene.Net.Codecs { @@ -35,7 +35,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal SegmentInfoWriter() + protected SegmentInfoWriter() { } diff --git a/src/Lucene.Net/Codecs/StoredFieldsFormat.cs b/src/Lucene.Net/Codecs/StoredFieldsFormat.cs index 1e65f63f4..da770b9cd 100644 --- a/src/Lucene.Net/Codecs/StoredFieldsFormat.cs +++ b/src/Lucene.Net/Codecs/StoredFieldsFormat.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -31,7 +31,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal StoredFieldsFormat() + protected StoredFieldsFormat() { } diff --git a/src/Lucene.Net/Codecs/StoredFieldsReader.cs b/src/Lucene.Net/Codecs/StoredFieldsReader.cs index 4e3dce332..d32df6721 100644 --- a/src/Lucene.Net/Codecs/StoredFieldsReader.cs +++ b/src/Lucene.Net/Codecs/StoredFieldsReader.cs @@ -37,7 +37,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal StoredFieldsReader() + protected StoredFieldsReader() { } diff --git a/src/Lucene.Net/Codecs/StoredFieldsWriter.cs b/src/Lucene.Net/Codecs/StoredFieldsWriter.cs index bc5b84750..9a214fc86 100644 --- a/src/Lucene.Net/Codecs/StoredFieldsWriter.cs +++ b/src/Lucene.Net/Codecs/StoredFieldsWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.CompilerServices; @@ -50,7 +50,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal StoredFieldsWriter() + protected StoredFieldsWriter() { } diff --git a/src/Lucene.Net/Codecs/TermVectorsFormat.cs b/src/Lucene.Net/Codecs/TermVectorsFormat.cs index 025c2ba06..fb515af02 100644 --- a/src/Lucene.Net/Codecs/TermVectorsFormat.cs +++ b/src/Lucene.Net/Codecs/TermVectorsFormat.cs @@ -1,4 +1,4 @@ -namespace Lucene.Net.Codecs +namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -31,7 +31,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal TermVectorsFormat() + protected TermVectorsFormat() { } diff --git a/src/Lucene.Net/Codecs/TermVectorsReader.cs b/src/Lucene.Net/Codecs/TermVectorsReader.cs index b4cf924d9..3a16f052f 100644 --- a/src/Lucene.Net/Codecs/TermVectorsReader.cs +++ b/src/Lucene.Net/Codecs/TermVectorsReader.cs @@ -34,7 +34,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal TermVectorsReader() + protected TermVectorsReader() { } diff --git a/src/Lucene.Net/Codecs/TermVectorsWriter.cs b/src/Lucene.Net/Codecs/TermVectorsWriter.cs index bad39b4dc..bca990c15 100644 --- a/src/Lucene.Net/Codecs/TermVectorsWriter.cs +++ b/src/Lucene.Net/Codecs/TermVectorsWriter.cs @@ -66,7 +66,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal TermVectorsWriter() + protected TermVectorsWriter() { } diff --git a/src/Lucene.Net/Codecs/TermsConsumer.cs b/src/Lucene.Net/Codecs/TermsConsumer.cs index 7a404e753..8d3791d1d 100644 --- a/src/Lucene.Net/Codecs/TermsConsumer.cs +++ b/src/Lucene.Net/Codecs/TermsConsumer.cs @@ -60,7 +60,7 @@ namespace Lucene.Net.Codecs /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal TermsConsumer() + protected TermsConsumer() { } diff --git a/src/Lucene.Net/Index/CompositeReader.cs b/src/Lucene.Net/Index/CompositeReader.cs index b8282935c..a43107686 100644 --- a/src/Lucene.Net/Index/CompositeReader.cs +++ b/src/Lucene.Net/Index/CompositeReader.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Diagnostics; +using Lucene.Net.Diagnostics; using System; using System.Collections.Generic; using System.Diagnostics; @@ -64,7 +64,7 @@ namespace Lucene.Net.Index /// Sole constructor. (For invocation by subclass /// constructors, typically implicit.) /// </summary> - protected internal CompositeReader() + protected CompositeReader() : base() { } diff --git a/src/Lucene.Net/Store/BaseDirectory.cs b/src/Lucene.Net/Store/BaseDirectory.cs index d1fc1d497..94974784d 100644 --- a/src/Lucene.Net/Store/BaseDirectory.cs +++ b/src/Lucene.Net/Store/BaseDirectory.cs @@ -46,7 +46,7 @@ namespace Lucene.Net.Store /// <summary> /// Sole constructor. </summary> - protected internal BaseDirectory() + protected BaseDirectory() : base() { } diff --git a/src/Lucene.Net/Store/FSDirectory.cs b/src/Lucene.Net/Store/FSDirectory.cs index c7ba41ccc..6471023c9 100644 --- a/src/Lucene.Net/Store/FSDirectory.cs +++ b/src/Lucene.Net/Store/FSDirectory.cs @@ -113,7 +113,7 @@ namespace Lucene.Net.Store /// <param name="lockFactory"> the lock factory to use, or null for the default /// (<seealso cref="NativeFSLockFactory"/>); </param> /// <exception cref="IOException"> if there is a low-level I/O error </exception> - protected internal FSDirectory(DirectoryInfo path, LockFactory lockFactory) + protected FSDirectory(DirectoryInfo path, LockFactory lockFactory) { // new ctors use always NativeFSLockFactory as default: if (lockFactory is null)
