paulirwin commented on code in PR #914:
URL: https://github.com/apache/lucenenet/pull/914#discussion_r1501712076


##########
src/Lucene.Net.Tests/Search/TestBooleanQuery.cs:
##########
@@ -182,9 +182,6 @@ public virtual void TestDeMorgan()
             IndexSearcher searcher = NewSearcher(multireader);
             Assert.AreEqual(0, searcher.Search(query, 10).TotalHits);
 
-
-            Task foo = new Task(TestDeMorgan);
-
             TaskScheduler es = TaskScheduler.Default;
             searcher = new IndexSearcher(multireader, es);

Review Comment:
   Can you elaborate what you mean? This code was removed as it was unused 
(appeared to be from someone testing something) and the method is not async. If 
this code were legitimately using Task and/or was async, I'd completely agree.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to