Skip to content

Commit b34c8f6

Browse files
Fixed typos in documentation and comments (#1220)
* src: fix typos Spelling clean up in cs files * SWEEP: Changed OrderedDictioary > OrderedDictionary in comments to fix spelling --------- Co-authored-by: Shad Storhaug <shad@shadstorhaug.com>
1 parent 7380482 commit b34c8f6

24 files changed

Lines changed: 31 additions & 31 deletions

File tree

src/Lucene.Net.Analysis.Common/Analysis/Compound/Hyphenation/TernaryTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private char Insert(char p, char[] key, int start, char val)
214214
m_lo[pp]++;
215215
if (m_kv[m_lo[pp]] == 0)
216216
{
217-
// key completly decompressed leaving garbage in key array
217+
// key completely decompressed leaving garbage in key array
218218
m_lo[pp] = (char)0;
219219
m_sc[pp] = (char)0;
220220
m_hi[pp] = (char)0;

src/Lucene.Net.Analysis.Common/Analysis/Hunspell/Dictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private void ReadAffixFile(Stream affixStream, Encoding decoder)
290290
patterns.Add(null);
291291

292292
// zero strip -> 0 ord
293-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
293+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
294294
IDictionary<string, int> seenStrips = new JCG.OrderedDictionary<string, int>
295295
{
296296
[""] = 0

src/Lucene.Net.Analysis.Common/Analysis/Util/AnalysisSPILoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void Reload()
6363
UninterruptableMonitor.Enter(this);
6464
try
6565
{
66-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
66+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
6767
IDictionary<string, Type> services = new JCG.OrderedDictionary<string, Type>(this.services);
6868
SPIClassIterator<S> loader = SPIClassIterator<S>.Get();
6969

src/Lucene.Net.Analysis.Phonetic/Language/DoubleMetaphone.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ private bool ConditionM0(string value, int index)
10731073

10741074
/// <summary>
10751075
/// Determines whether or not a value is of slavo-germanic origin. A value is
1076-
/// of slavo-germanic origin if it contians any of 'W', 'K', 'CZ', or 'WITZ'.
1076+
/// of slavo-germanic origin if it contains any of 'W', 'K', 'CZ', or 'WITZ'.
10771077
/// </summary>
10781078
[MethodImpl(MethodImplOptions.AggressiveInlining)]
10791079
private static bool IsSlavoGermanic(string value) // LUCENENET: CA1822: Mark members as static

src/Lucene.Net.Benchmark/ByTask/Tasks/RepSumByNameRoundTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public override int DoLogic()
5555
protected virtual Report ReportSumByNameRound(IList<TaskStats> taskStats)
5656
{
5757
// aggregate by task name and round
58-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
58+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
5959
JCG.OrderedDictionary<string, TaskStats> p2 = new JCG.OrderedDictionary<string, TaskStats>();
6060
int reported = 0;
6161
foreach (TaskStats stat1 in taskStats)

src/Lucene.Net.Benchmark/ByTask/Tasks/RepSumByNameTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected virtual Report ReportSumByName(IList<TaskStats> taskStats)
5656
{
5757
// aggregate by task name
5858
int reported = 0;
59-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
59+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
6060
JCG.OrderedDictionary<string, TaskStats> p2 = new JCG.OrderedDictionary<string, TaskStats>();
6161
foreach (TaskStats stat1 in taskStats)
6262
{

src/Lucene.Net.Benchmark/ByTask/Tasks/RepSumByPrefRoundTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected virtual Report ReportSumByPrefixRound(IList<TaskStats> taskStats)
5151
{
5252
// aggregate by task name and by round
5353
int reported = 0;
54-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
54+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
5555
JCG.OrderedDictionary<string, TaskStats> p2 = new JCG.OrderedDictionary<string, TaskStats>();
5656
foreach (TaskStats stat1 in taskStats)
5757
{

src/Lucene.Net.Benchmark/ByTask/Tasks/RepSumByPrefTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected virtual Report ReportSumByPrefix(IList<TaskStats> taskStats)
5353
{
5454
// aggregate by task name
5555
int reported = 0;
56-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
56+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
5757
JCG.OrderedDictionary<string, TaskStats> p2 = new JCG.OrderedDictionary<string, TaskStats>();
5858
foreach (TaskStats stat1 in taskStats)
5959
{

src/Lucene.Net.Benchmark/ByTask/Tasks/ReportTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected virtual string TaskReportLine(string longestOp, TaskStats stat)
130130
return sb.ToString();
131131
}
132132

133-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
133+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
134134
protected virtual Report GenPartialReport(int reported, JCG.OrderedDictionary<string, TaskStats> partOfTasks, int totalSize)
135135
{
136136
string longetOp = LongestOp(partOfTasks.Values);

src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private static MethodInfo GetMethod(Type type, string method, Type[] parms)
8989

9090
private readonly string sourceText;
9191

92-
// LUCENENET specific: OrderedDictioary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
92+
// LUCENENET specific: OrderedDictionary<TKey, TValue> is a replacement for LinkedHashMap<K, V> in the JDK
9393
private readonly IDictionary<string, int> externalsMap = new JCG.OrderedDictionary<string, int>();
9494

9595
private TypeBuilder dynamicType;

0 commit comments

Comments
 (0)