cvsimport
[beagle.git] / beagled / Lucene.Net / upstream-changes / 17_remove_debugstreams.patch
blob3ac36be829924b12452c5fcc93088c21ed30249e
1 From: Joe Shaw <joeshaw@novell.com>
3 Remove instances of debugStream from throughout the code. They unnecessarily
4 open stdout (which causes the creation of a "Console" log file), but they're
5 never actually used.
8 Index: Analysis/Standard/StandardTokenizerTokenManager.cs
9 ===================================================================
10 RCS file: /cvs/gnome/beagle/beagled/Lucene.Net/Analysis/Standard/StandardTokenizerTokenManager.cs,v
11 retrieving revision 1.7.4.9
12 diff -u -3 -p -r1.7.4.9 StandardTokenizerTokenManager.cs
13 --- Analysis/Standard/StandardTokenizerTokenManager.cs 30 Sep 2006 02:52:26 -0000 1.7.4.9
14 +++ Analysis/Standard/StandardTokenizerTokenManager.cs 30 Sep 2006 02:54:26 -0000
15 @@ -25,22 +25,11 @@ namespace Lucene.Net.Analysis.Standard
16 /// <summary>By default, closes the input Reader. </summary>
17 public void Close()
19 - debugStream.Close();
20 input_stream.Done();
23 private void InitBlock()
25 - System.IO.StreamWriter temp_writer;
26 - temp_writer = new System.IO.StreamWriter(System.Console.OpenStandardOutput(), System.Console.Out.Encoding);
27 - temp_writer.AutoFlush = true;
28 - debugStream = temp_writer;
29 - }
30 - public System.IO.StreamWriter debugStream;
31 - public virtual void SetDebugStream(System.IO.StreamWriter ds)
32 - {
33 - debugStream = ds;
34 - }
35 private int JjMoveStringLiteralDfa0_0()
37 return JjMoveNfa_0(0, 0);
38 Index: QueryParser/QueryParserTokenManager.cs
39 ===================================================================
40 RCS file: /cvs/gnome/beagle/beagled/Lucene.Net/QueryParser/QueryParserTokenManager.cs,v
41 retrieving revision 1.5.4.6
42 diff -u -3 -p -r1.5.4.6 QueryParserTokenManager.cs
43 --- QueryParser/QueryParserTokenManager.cs 25 Sep 2006 22:36:30 -0000 1.5.4.6
44 +++ QueryParser/QueryParserTokenManager.cs 30 Sep 2006 02:54:26 -0000
45 @@ -31,15 +31,6 @@ namespace Lucene.Net.QueryParsers
47 private void InitBlock()
49 - System.IO.StreamWriter temp_writer;
50 - temp_writer = new System.IO.StreamWriter(System.Console.OpenStandardOutput(), System.Console.Out.Encoding);
51 - temp_writer.AutoFlush = true;
52 - debugStream = temp_writer;
53 - }
54 - public System.IO.StreamWriter debugStream;
55 - public virtual void SetDebugStream(System.IO.StreamWriter ds)
56 - {
57 - debugStream = ds;
59 private int JjStopStringLiteralDfa_3(int pos, long active0)
61 @@ -1273,4 +1264,4 @@ EOFLoop: ;
66 \ No newline at end of file