laimis commented on code in PR #838:
URL: https://github.com/apache/lucenenet/pull/838#discussion_r1174070607


##########
src/Lucene.Net.TestFramework/Index/RandomCodec.cs:
##########
@@ -96,10 +96,10 @@ public override PostingsFormat 
GetPostingsFormatForField(string name)
                 if (Debugging.AssertsEnabled) 
Debugging.Assert(previousMappings.Count < 10000, "test went insane");
             }
 
-            //if (LuceneTestCase.VERBOSE)
-            //{
-            Console.WriteLine("RandomCodec.GetPostingsFormatForField(\"" + 
name + "\") returned '" + codec.Name + "' with underlying type '" + 
codec.GetType().ToString() + "'.");
-            //}
+            if (LuceneTestCase.Verbose)
+            {
+                Console.WriteLine("RandomCodec.GetPostingsFormatForField(\"" + 
name + "\") returned '" + codec.Name + "' with underlying type '" + 
codec.GetType().ToString() + "'.");
+            }
 

Review Comment:
   Put this back as they were showing up in console and interfering with 
debugging.



-- 
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