You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ar...@apache.org on 2007/08/21 04:43:42 UTC

svn commit: r567918 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs

Author: aroush
Date: Mon Aug 20 19:43:42 2007
New Revision: 567918

URL: http://svn.apache.org/viewvc?rev=567918&view=rev
Log:
Fix: LUCENENET-73 "TestDoc.cs --> access to a closed stream"

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestDoc.cs?rev=567918&r1=567917&r2=567918&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs Mon Aug 20 19:43:42 2007
@@ -116,8 +116,8 @@
 				{
 					pw.Close();
 				}
-				if (fw != null)
-					fw.Close();
+				// if (fw != null)
+				//	fw.Close();     // No need to close fw in .NET as it is clased when pw is cloased
 			}
 		}