lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r567927 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
Date Tue, 21 Aug 2007 03:09:32 GMT
Author: aroush
Date: Mon Aug 20 20:09:32 2007
New Revision: 567927

URL: http://svn.apache.org/viewvc?rev=567927&view=rev
Log:
Fix: LUCENENET-76 "DisjunctionMaxQuery has unnecessary clone which causes it to fail unit
tests"

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/DisjunctionMaxQuery.cs?rev=567927&r1=567926&r2=567927&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs Mon Aug 20
20:09:32 2007
@@ -243,7 +243,6 @@
 		public override System.Object Clone()
 		{
 			DisjunctionMaxQuery clone = (DisjunctionMaxQuery) base.Clone();
-			clone.disjuncts = (System.Collections.ArrayList) this.disjuncts.Clone();
 			return clone;
 		}
 		



Mime
View raw message