diff --git a/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs b/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs index f63f658282..b7e7ea01ce 100644 --- a/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs +++ b/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Support.IO; +using Lucene.Net.Support.IO; using System; using System.Diagnostics.CodeAnalysis; using System.IO; @@ -31,7 +31,7 @@ public class QueryParserTokenManager //: QueryParserConstants { /// Debug output. #pragma warning disable IDE0052 // Remove unread private members - private TextWriter debugStream = Console.Out; // LUCENENET specific - made private, since we already have a setter + private TextWriter debugStream; // LUCENENET specific - made private, since we already have a setter #pragma warning restore IDE0052 // Remove unread private members /// Set debug output. public virtual void SetDebugStream(TextWriter ds) diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserTokenManager.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserTokenManager.cs index 57646672fc..cca7cc3f53 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserTokenManager.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserTokenManager.cs @@ -1,4 +1,4 @@ -using Lucene.Net.Support.IO; +using Lucene.Net.Support.IO; using System.Diagnostics.CodeAnalysis; using System; using System.IO; @@ -32,7 +32,7 @@ public class StandardSyntaxParserTokenManager /*: StandardSyntaxParserConstants* { /// Debug output. #pragma warning disable IDE0052 // Remove unread private members - private TextWriter debugStream = Console.Out; // LUCENENET specific - made private, since we already have a setter + private TextWriter debugStream; // LUCENENET specific - made private, since we already have a setter #pragma warning restore IDE0052 // Remove unread private members /// Set debug output. public void SetDebugStream(TextWriter ds) { debugStream = new SafeTextWriterWrapper(ds); }