lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r941457 - /lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
Date Wed, 05 May 2010 20:07:09 GMT
Author: digy
Date: Wed May  5 20:07:08 2010
New Revision: 941457

URL: http://svn.apache.org/viewvc?rev=941457&view=rev
Log:
Commented out LOCK_DIR in  FSDirectory which is obsolete and not used anywhere. It also creates
problem in "Medium Trust"

Modified:
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Store/FSDirectory.cs?rev=941457&r1=941456&r2=941457&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs Wed May  5 20:07:08 2010
@@ -171,8 +171,8 @@ namespace Lucene.Net.Store
 		/// the <code>open</code> methods that take a
 		/// <code>lockFactory</code> (for example, {@link #open(File, LockFactory)}).
 		/// </deprecated>
-        [Obsolete("As of 2.1, LOCK_DIR is unused because the write.lock is now stored by
default in the index directory. ")]
-		public static readonly System.String LOCK_DIR = SupportClass.AppSettings.Get("Lucene.Net.lockDir",
System.IO.Path.GetTempPath());
+        //[Obsolete("As of 2.1, LOCK_DIR is unused because the write.lock is now stored by
default in the index directory. ")]
+		//public static readonly System.String LOCK_DIR = SupportClass.AppSettings.Get("Lucene.Net.lockDir",
System.IO.Path.GetTempPath());
 		
 		/// <summary>The default class which implements filesystem-based directories. </summary>
 		// deprecated



Mime
View raw message