lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r462677 - /incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Index/TermBuffer.cs
Date Wed, 11 Oct 2006 03:07:23 GMT
Author: aroush
Date: Tue Oct 10 20:07:22 2006
New Revision: 462677

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

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

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