lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccurr...@apache.org
Subject svn commit: r1303880 - /incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs
Date Thu, 22 Mar 2012 16:33:48 GMT
Author: ccurrens
Date: Thu Mar 22 16:33:48 2012
New Revision: 1303880

URL: http://svn.apache.org/viewvc?rev=1303880&view=rev
Log:
[LUCENENET-477] - Added patch for NullReferenceException when util/ThreadLocal is compiled
for .NET 2.0

Modified:
    incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs

Modified: incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs?rev=1303880&r1=1303879&r2=1303880&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs (original)
+++ incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs Thu Mar 22 16:33:48 2012
@@ -195,7 +195,7 @@ namespace Lucene.Net.Util
 
     //    public void Dispose()
     //    {
-    //        slots.Remove(this);
+    //        if (slots != null) slots.Remove(this);
     //    }
     //}
-}
\ No newline at end of file
+}



Mime
View raw message