Skip to content

Commit

Permalink
Add comment explaining MergeTrigger.NONE use
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Mar 13, 2024
1 parent 1c43b7f commit f8def01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lucene.Net.Tests/Index/TestNoMergePolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class TestNoMergePolicy : LuceneTestCase
public virtual void TestNoMergePolicy_Mem()
{
MergePolicy mp = NoMergePolicy.NO_COMPOUND_FILES;
Assert.IsNull(mp.FindMerges(/*null*/ MergeTrigger.NONE, (SegmentInfos)null));
Assert.IsNull(mp.FindMerges(/*null*/ MergeTrigger.NONE, (SegmentInfos)null)); // LUCENENET specific: using MergeTrigger.NONE instead of null
Assert.IsNull(mp.FindForcedMerges(null, 0, null));
Assert.IsNull(mp.FindForcedDeletesMerges(null));
Assert.IsFalse(mp.UseCompoundFile(null, null));
Expand Down

0 comments on commit f8def01

Please sign in to comment.