This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
from 599f3b7f8 Lucene.Net.Analysis.Fa/PersianAnalyzer: Reverted changes
from #571 as was done in apache/lucene#904. Changed TestPersianStemFilter to
use mocks.
new 5145ea78a Lucene.Net.Analysis.Common.Analysis.Util (CharArrayMap +
CharArraySet): Added AsReadOnly() instance methods to match .NET conventions
and marked UnmodifiableMap/UnmodifiableSet obsolete.
new e4310de17 SWEEP: Migrated all callers of
CharArraySet.UnmodifiableSet() and CharArrayMap.UnmodifiableMap() to the
AsReadOnly() instance methods
new 0ab704e34 SWEEP: Added SuppressMessage attribute for S3887 and S2386
(SonarCloud) for all immutable collections (excluding arrays) that it cannot
detect.
new 37588c7a3 SWEEP: Fixed a bug where the CharArraySet returned from
DefaultStopSet in all analyzers was returning a static writable instance
instead of a readonly instance as per the docs.
new c9914866d Lucene.Net.Analysis.Kuromoji.JapaneseAnalyzer: Changed
GetDefaultStopSet() and GetDefaultStopTags() to DefaultStopSet and
DefaultStopTags, respectively. Marked the old methods obsolete.
new 2161cdcbb Lucene.Net.Analysis.SmartCn.SmartChineseAnalyzer: Changed
GetDefaultStopSet() to DefaultStopSet. Marked GetDefaultStopSet() obsolete.
new 789785d2a Merge branch 'master' into fix/immutable-collection-warnings
new 84e379e09 Merge pull request #710 from
NightOwl888/fix/immutable-collection-warnings
The 6603 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../Analysis/Ar/ArabicAnalyzer.cs | 4 +--
.../Analysis/Bg/BulgarianAnalyzer.cs | 4 +--
.../Analysis/Br/BrazilianAnalyzer.cs | 4 +--
.../Analysis/Ca/CatalanAnalyzer.cs | 8 ++---
.../Analysis/Cjk/CJKAnalyzer.cs | 2 +-
.../Analysis/Ckb/SoraniAnalyzer.cs | 4 +--
.../Analysis/Core/StopAnalyzer.cs | 8 +++--
.../Analysis/Cz/CzechAnalyzer.cs | 4 +--
.../Analysis/Da/DanishAnalyzer.cs | 4 +--
.../Analysis/De/GermanAnalyzer.cs | 6 ++--
.../Analysis/El/GreekAnalyzer.cs | 2 +-
.../Analysis/En/EnglishAnalyzer.cs | 4 +--
.../Analysis/Es/SpanishAnalyzer.cs | 4 +--
.../Analysis/Eu/BasqueAnalyzer.cs | 4 +--
.../Analysis/Fa/PersianAnalyzer.cs | 2 +-
.../Analysis/Fi/FinnishAnalyzer.cs | 4 +--
.../Analysis/Fr/FrenchAnalyzer.cs | 14 ++++++---
.../Analysis/Ga/IrishAnalyzer.cs | 12 ++++----
.../Analysis/Gl/GalicianAnalyzer.cs | 4 +--
.../Analysis/Hi/HindiAnalyzer.cs | 4 +--
.../Analysis/Hu/HungarianAnalyzer.cs | 4 +--
.../Analysis/Hy/ArmenianAnalyzer.cs | 4 +--
.../Analysis/Id/IndonesianAnalyzer.cs | 4 +--
.../Analysis/It/ItalianAnalyzer.cs | 8 ++---
.../Analysis/Lv/LatvianAnalyzer.cs | 4 +--
.../Analysis/Miscellaneous/PatternAnalyzer.cs | 4 +--
.../Analysis/Nl/DutchAnalyzer.cs | 8 ++---
.../Analysis/No/NorwegianAnalyzer.cs | 4 +--
.../Analysis/Pt/PortugueseAnalyzer.cs | 4 +--
.../Analysis/Ro/RomanianAnalyzer.cs | 4 +--
.../Analysis/Ru/RussianAnalyzer.cs | 6 ++--
.../Analysis/Snowball/SnowballAnalyzer.cs | 4 +--
.../Analysis/Sv/SwedishAnalyzer.cs | 4 +--
.../Analysis/Th/ThaiAnalyzer.cs | 2 +-
.../Analysis/Tr/TurkishAnalyzer.cs | 4 +--
.../Analysis/Util/CharArrayMap.cs | 16 +++++++++-
.../Analysis/Util/CharArraySet.cs | 26 +++++++++++++++-
.../Analysis/Util/StopwordAnalyzerBase.cs | 4 +--
.../JapaneseAnalyzer.cs | 23 +++++++-------
.../Uk/UkrainianMorfologikAnalyzer.cs | 4 +--
.../SmartChineseAnalyzer.cs | 12 ++++----
.../Pl/PolishAnalyzer.cs | 6 ++--
.../JS/JavascriptCompiler.cs | 4 +++
.../Analysis/Util/TestCharArrayMap.cs | 2 +-
.../Analysis/Util/TestCharArraySet.cs | 27 ++++++++--------
.../TestJapaneseAnalyzer.cs | 36 +++++++++++-----------
.../TestSmartChineseAnalyzer.cs | 2 +-
src/Lucene.Net/Codecs/PostingsFormat.cs | 6 +++-
src/Lucene.Net/Index/Fields.cs | 6 +++-
src/Lucene.Net/Index/MultiTermsEnum.cs | 3 ++
src/Lucene.Net/Index/ReaderSlice.cs | 6 +++-
src/Lucene.Net/Index/Terms.cs | 4 +++
src/Lucene.Net/Util/Bits.cs | 6 +++-
src/Lucene.Net/Util/BytesRef.cs | 3 ++
src/Lucene.Net/Util/CharsRef.cs | 3 ++
src/Lucene.Net/Util/IntsRef.cs | 3 ++
src/Lucene.Net/Util/LongsRef.cs | 3 ++
.../CommandLine/CommandLineApplication.cs | 4 +++
58 files changed, 235 insertions(+), 144 deletions(-)