lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r462675 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs
Date Wed, 11 Oct 2006 03:05:34 GMT
Author: aroush
Date: Tue Oct 10 20:05:33 2006
New Revision: 462675

URL: http://svn.apache.org/viewvc?view=rev&rev=462675
Log:
Do not cast to System.Object

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/TermBuffer.cs?view=diff&rev=462675&r1=462674&r2=462675
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs Tue Oct 10 20:05:33 2006
@@ -31,7 +31,7 @@
 		
 		public int CompareTo(TermBuffer other)
 		{
-			if ((System.Object) field == (System.Object) other.field)
+			if (field == other.field)
     			// fields are interned
 				return CompareChars(text, textLength, other.text, other.textLength);
 			else



Mime
View raw message