lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r462676 - /incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs
Date Wed, 11 Oct 2006 03:06:27 GMT
Author: aroush
Date: Tue Oct 10 20:06:26 2006
New Revision: 462676

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

Modified:
    incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs?view=diff&rev=462676&r1=462675&r2=462676
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs
(original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_RC1_final/src/Lucene.Net/Index/TermBuffer.cs
Tue Oct 10 20:06:26 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