Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Feb 1, 2025
1 parent a86894a commit b70cda7
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions JL.Core/Lookup/LookupUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -756,20 +756,6 @@ private static List<LookupResult> BuildJmdictResult(
for (int j = 0; j < dictRecords.Count; j++)
{
JmdictRecord jmdictResult = (JmdictRecord)dictRecords[j];
List<string> wordClassesList = new(jmdictResult.WordClasses[0].Length);
for (int k = 0; k < jmdictResult.WordClasses.Length; k++)
{
string[] wordClasses = jmdictResult.WordClasses[k];
for (int l = 0; l < wordClasses.Length; l++)
{
string pos = wordClasses[l];
if (!wordClassesList.Contains(pos))
{
wordClassesList.Add(pos);
}
}
}

LookupResult result = new
(
primarySpelling: jmdictResult.PrimarySpelling,
Expand Down

0 comments on commit b70cda7

Please sign in to comment.