lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r567918 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs
Date Tue, 21 Aug 2007 02:43:42 GMT
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
 			}
 		}
 		



Mime
View raw message