diff --git a/src/Lucene.Net.Tests/Index/TestSizeBoundedForceMerge.cs b/src/Lucene.Net.Tests/Index/TestSizeBoundedForceMerge.cs index fc7a25dc1d..a853f5fcb6 100644 --- a/src/Lucene.Net.Tests/Index/TestSizeBoundedForceMerge.cs +++ b/src/Lucene.Net.Tests/Index/TestSizeBoundedForceMerge.cs @@ -51,7 +51,7 @@ private void AddDocs(IndexWriter writer, int numDocs, bool withID) writer.Commit(); } - private IndexWriterConfig NewWriterConfig() + private static IndexWriterConfig NewWriterConfig() { IndexWriterConfig conf = NewIndexWriterConfig(TEST_VERSION_CURRENT, null); conf.SetMaxBufferedDocs(IndexWriterConfig.DISABLE_AUTO_FLUSH); @@ -401,4 +401,4 @@ public virtual void TestSingleMergeableTooLargeSegment() Assert.IsTrue(sis[0].HasDeletions); } } -} \ No newline at end of file +}