You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2026/01/10 14:31:38 UTC
(lucenenet) branch master updated: docs(cs): fix typos; occured -> occurred (#1229)
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
The following commit(s) were added to refs/heads/master by this push:
new 4fe810589 docs(cs): fix typos; occured -> occurred (#1229)
4fe810589 is described below
commit 4fe810589e67284ac8f28f0e1b89b5822a4ebdad
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sun Jan 11 00:31:33 2026 +1000
docs(cs): fix typos; occured -> occurred (#1229)
---
.../Analysis/CharFilter/HTMLStripCharFilter.cs | 2 +-
.../Analysis/Standard/ClassicTokenizerImpl.cs | 2 +-
.../Analysis/Standard/StandardTokenizerImpl.cs | 2 +-
.../Analysis/Standard/Std31/StandardTokenizerImpl31.cs | 2 +-
.../Standard/Std31/UAX29URLEmailTokenizerImpl31.cs | 2 +-
.../Analysis/Standard/Std34/StandardTokenizerImpl34.cs | 2 +-
.../Standard/Std34/UAX29URLEmailTokenizerImpl34.cs | 2 +-
.../Standard/Std36/UAX29URLEmailTokenizerImpl36.cs | 2 +-
.../Analysis/Standard/Std40/StandardTokenizerImpl40.cs | 2 +-
.../Standard/Std40/UAX29URLEmailTokenizerImpl40.cs | 2 +-
.../Analysis/Standard/UAX29URLEmailTokenizerImpl.cs | 2 +-
.../Analysis/Wikipedia/WikipediaTokenizerImpl.cs | 2 +-
.../Suggest/Jaspell/JaspellTernarySearchTrie.cs | 16 ++++++++--------
src/Lucene.Net/Index/DocFieldProcessor.cs | 2 +-
src/Lucene.Net/Index/IndexWriter.cs | 2 +-
src/Lucene.Net/Search/SearcherManager.cs | 2 +-
src/Lucene.Net/Util/Automaton/RegExp.cs | 4 ++--
17 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
index 733f2c96d..37d05ac05 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
@@ -31125,7 +31125,7 @@ private void YyBegin(int newState)
private int YyLength => zzMarkedPos - zzStartRead;
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
index fef428fff..ea090e96a 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
@@ -590,7 +590,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
index b51138794..887709cf9 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
@@ -1187,7 +1187,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
index 3694b4d81..b05298360 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
@@ -902,7 +902,7 @@ public char YyCharAt(int pos)
public int YyLength => zzMarkedPos - zzStartRead;
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
index a84d5a583..7ecc57b20 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
@@ -3456,7 +3456,7 @@ public char YyCharAt(int pos)
public int YyLength => zzMarkedPos - zzStartRead;
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
///
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
index b1121d0b3..919eb3d03 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
@@ -922,7 +922,7 @@ public char YyCharAt(int pos)
public int YyLength => zzMarkedPos - zzStartRead;
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
index d069059e9..b742f4779 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
@@ -3570,7 +3570,7 @@ public char YyCharAt(int pos)
public int YyLength => zzMarkedPos - zzStartRead;
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
index b78b34ac9..bef0b7345 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
@@ -4007,7 +4007,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
index 2d5ecef44..b8f9cc6c5 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
@@ -1037,7 +1037,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
index 65550f9d9..9a62e86cf 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
@@ -4225,7 +4225,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
index fa6214411..ffb4e3f8e 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
@@ -9332,7 +9332,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
index 932e9303a..f8a8b9138 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
@@ -692,7 +692,7 @@ public char YyCharAt(int pos)
/// <summary>
- /// Reports an error that occured while scanning.
+ /// Reports an error that occurred while scanning.
/// <para/>
/// In a wellformed scanner (no or only correct usage of
/// YyPushBack(int) and a match-all fallback rule) this method
diff --git a/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs b/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
index 569773a84..9da457261 100644
--- a/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Jaspell/JaspellTernarySearchTrie.cs
@@ -219,7 +219,7 @@ internal virtual TSTNode Root
/// <param name="file">
/// The <see cref="FileInfo"/> with the data to load into the Trie. </param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
public JaspellTernarySearchTrie(FileInfo file)
: this(file.FullName, false, CultureInfo.CurrentCulture)
{
@@ -235,7 +235,7 @@ public JaspellTernarySearchTrie(FileInfo file)
/// <param name="fileName">
/// The file name with the data to load into the Trie. The path is not normalized by this method. </param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
/// <remarks>
/// LUCENENET: This constructor overload takes a string <paramref name="fileName"/> to avoid having to allocate a <see cref="FileInfo"/> object.
/// </remarks>
@@ -255,7 +255,7 @@ public JaspellTernarySearchTrie(string fileName)
/// The <see cref="FileInfo"/> with the data to load into the Trie. </param>
/// <param name="culture">The culture used for lowercasing.</param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
public JaspellTernarySearchTrie(FileInfo file, CultureInfo culture)
: this(file.FullName, false, culture)
{ }
@@ -271,7 +271,7 @@ public JaspellTernarySearchTrie(FileInfo file, CultureInfo culture)
/// The file name with the data to load into the Trie. The path is not normalized by this method. </param>
/// <param name="culture">The culture used for lowercasing.</param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
/// <remarks>
/// LUCENENET: This constructor overload takes a string <paramref name="fileName"/> to avoid having to allocate a <see cref="FileInfo"/> object.
/// </remarks>
@@ -292,7 +292,7 @@ public JaspellTernarySearchTrie(string fileName, CultureInfo culture)
/// If true, the file is compressed with the GZIP algorithm, and if
/// false, the file is a normal text document. </param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
public JaspellTernarySearchTrie(FileInfo file, bool compression)
: this(file.FullName, compression, CultureInfo.CurrentCulture)
{ }
@@ -310,7 +310,7 @@ public JaspellTernarySearchTrie(FileInfo file, bool compression)
/// If true, the file is compressed with the GZIP algorithm, and if
/// false, the file is a normal text document. </param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
/// <remarks>
/// LUCENENET: This constructor overload takes a string <paramref name="fileName"/> to avoid having to allocate a <see cref="FileInfo"/> object.
/// </remarks>
@@ -337,7 +337,7 @@ public JaspellTernarySearchTrie(string fileName, bool compression)
/// false, the file is a normal text document. </param>
/// <param name="culture">The culture used for lowercasing.</param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
public JaspellTernarySearchTrie(FileInfo file, bool compression, CultureInfo culture)
: this(file.FullName, compression, culture)
{
@@ -362,7 +362,7 @@ public JaspellTernarySearchTrie(FileInfo file, bool compression, CultureInfo cul
/// false, the file is a normal text document. </param>
/// <param name="culture">The culture used for lowercasing.</param>
/// <exception cref="IOException">
- /// A problem occured while reading the data. </exception>
+ /// A problem occurred while reading the data. </exception>
/// <remarks>
/// LUCENENET: This constructor overload takes a string <paramref name="fileName"/> to avoid having to allocate a <see cref="FileInfo"/> object.
/// </remarks>
diff --git a/src/Lucene.Net/Index/DocFieldProcessor.cs b/src/Lucene.Net/Index/DocFieldProcessor.cs
index e27812896..d72f112ef 100644
--- a/src/Lucene.Net/Index/DocFieldProcessor.cs
+++ b/src/Lucene.Net/Index/DocFieldProcessor.cs
@@ -143,7 +143,7 @@ public override void Abort()
}
}
- // If any errors occured, throw it.
+ // If any errors occurred, throw it.
if (th != null)
{
if (th.IsRuntimeException()) ExceptionDispatchInfo.Capture(th).Throw(); // LUCENENET: Rethrow to preserve stack details from the original throw
diff --git a/src/Lucene.Net/Index/IndexWriter.cs b/src/Lucene.Net/Index/IndexWriter.cs
index 4f4b6314f..72e3b0d49 100644
--- a/src/Lucene.Net/Index/IndexWriter.cs
+++ b/src/Lucene.Net/Index/IndexWriter.cs
@@ -5387,7 +5387,7 @@ private void CloseMergeReaders(MergePolicy.OneMerge merge, bool suppressExceptio
}
}
- // If any error occured, throw it.
+ // If any error occurred, throw it.
if (!suppressExceptions)
{
IOUtils.ReThrow(th);
diff --git a/src/Lucene.Net/Search/SearcherManager.cs b/src/Lucene.Net/Search/SearcherManager.cs
index ebb207067..fbbf221c3 100644
--- a/src/Lucene.Net/Search/SearcherManager.cs
+++ b/src/Lucene.Net/Search/SearcherManager.cs
@@ -143,7 +143,7 @@ protected override int GetRefCount(IndexSearcher reference)
}
/// <summary>
- /// Returns <c>true</c> if no changes have occured since this searcher
+ /// Returns <c>true</c> if no changes have occurred since this searcher
/// ie. reader was opened, otherwise <c>false</c>. </summary>
/// <seealso cref="DirectoryReader.IsCurrent()"/>
public bool IsSearcherCurrent()
diff --git a/src/Lucene.Net/Util/Automaton/RegExp.cs b/src/Lucene.Net/Util/Automaton/RegExp.cs
index b612537f4..69cbecfd7 100644
--- a/src/Lucene.Net/Util/Automaton/RegExp.cs
+++ b/src/Lucene.Net/Util/Automaton/RegExp.cs
@@ -415,7 +415,7 @@ internal RegExp()
/// <c>RegExp(s, RegExpSyntax.ALL)</c>.
/// </summary>
/// <param name="s"> Regexp string. </param>
- /// <exception cref="ArgumentException"> If an error occured while parsing the
+ /// <exception cref="ArgumentException"> If an error occurred while parsing the
/// regular expression. </exception>
public RegExp(string s)
: this(s, RegExpSyntax.ALL)
@@ -428,7 +428,7 @@ public RegExp(string s)
/// <param name="s"> Regexp string. </param>
/// <param name="syntax_flags"> Boolean 'or' of optional <see cref="RegExpSyntax"/> constructs to be
/// enabled. </param>
- /// <exception cref="ArgumentException"> If an error occured while parsing the
+ /// <exception cref="ArgumentException"> If an error occurred while parsing the
/// regular expression </exception>
public RegExp(string s, RegExpSyntax syntax_flags)
{