lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [Lucene.Net] svn commit: r1100143 - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g: DIFFs FROM 2.9.4.txt src/core/Index/DirectoryReader.cs
Date Fri, 06 May 2011 09:20:16 GMT
Author: digy
Date: Fri May  6 09:20:16 2011
New Revision: 1100143

URL: http://svn.apache.org/viewvc?rev=1100143&view=rev
Log:
[LUCENENET-412]

Added:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt
Modified:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Index/DirectoryReader.cs

Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs%20FROM%202.9.4.txt?rev=1100143&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt (added)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt Fri May  6 09:20:16
2011
@@ -0,0 +1,15 @@
+* Generics (not completed yet)
+	java's collections return null when an item does not exist in the collection whereas .NET
throws exception.
+		-->SupportClass.Dictionary
+	java's Set can be accessed with indexer( myset[0] )
+		-->SupportClass.Set
+
+* IEquatable<T> (not completed yet)
+
+* "foreach" instead of "GetEnumerator/MoveNext" (not completed yet)
+
+* IDisposable for classes that implement "Close" method
+
+* LUCENENET-172 (fix for unexceptional exceptions ecountered in FastCharStream)
+
+* LUCENENET-413 (Medium trust security issue) &  test cases to run in partially trusted
AppDomain
\ No newline at end of file

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Index/DirectoryReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Index/DirectoryReader.cs?rev=1100143&r1=1100142&r2=1100143&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Index/DirectoryReader.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Index/DirectoryReader.cs Fri
May  6 09:20:16 2011
@@ -57,34 +57,35 @@ namespace Lucene.Net.Index
 					return new DirectoryReader(directory, infos, deletionPolicy, false, termInfosIndexDivisor);
 			}
 		}
-		private class AnonymousClassFindSegmentsFile1:SegmentInfos.FindSegmentsFile
-		{
-			private void  InitBlock(bool openReadOnly, DirectoryReader enclosingInstance)
-			{
-				this.openReadOnly = openReadOnly;
-				this.enclosingInstance = enclosingInstance;
-			}
-			private bool openReadOnly;
-			private DirectoryReader enclosingInstance;
-			public DirectoryReader Enclosing_Instance
-			{
-				get
-				{
-					return enclosingInstance;
-				}
-				
-			}
-			internal AnonymousClassFindSegmentsFile1(bool openReadOnly, DirectoryReader enclosingInstance,
Lucene.Net.Store.Directory Param1):base(Param1)
-			{
-				InitBlock(openReadOnly, enclosingInstance);
-			}
-			public /*protected internal*/ override System.Object DoBody(System.String segmentFileName)
-			{
-				SegmentInfos infos = new SegmentInfos();
-				infos.Read(directory, segmentFileName);
-				return Enclosing_Instance.DoReopen(infos, false, openReadOnly);
-			}
-		}
+        //DIGY: not used anymore
+        //private class AnonymousClassFindSegmentsFile1:SegmentInfos.FindSegmentsFile
+        //{
+        //    private void  InitBlock(bool openReadOnly, DirectoryReader enclosingInstance)
+        //    {
+        //        this.openReadOnly = openReadOnly;
+        //        this.enclosingInstance = enclosingInstance;
+        //    }
+        //    private bool openReadOnly;
+        //    private DirectoryReader enclosingInstance;
+        //    public DirectoryReader Enclosing_Instance
+        //    {
+        //        get
+        //        {
+        //            return enclosingInstance;
+        //        }
+				
+        //    }
+        //    internal AnonymousClassFindSegmentsFile1(bool openReadOnly, DirectoryReader
enclosingInstance, Lucene.Net.Store.Directory Param1):base(Param1)
+        //    {
+        //        InitBlock(openReadOnly, enclosingInstance);
+        //    }
+        //    public /*protected internal*/ override System.Object DoBody(System.String segmentFileName)
+        //    {
+        //        SegmentInfos infos = new SegmentInfos();
+        //        infos.Read(directory, segmentFileName);
+        //        return Enclosing_Instance.DoReopen(infos, false, openReadOnly);
+        //    }
+        //}
 		protected internal Directory directory;
 		protected internal bool readOnly;
 		



Mime
View raw message