lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r462667 - in /incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search: MatchAllDocsQuery.cs MultiPhraseQuery.cs PhrasePrefixQuery.cs PhraseQuery.cs PrefixQuery.cs RangeQuery.cs TermQuery.cs
Date Wed, 11 Oct 2006 02:33:57 GMT
Author: aroush
Date: Tue Oct 10 19:33:57 2006
New Revision: 462667

URL: http://svn.apache.org/viewvc?view=rev&rev=462667
Log:
Removed unused Clone()'s (they were returning null.)

Modified:
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MatchAllDocsQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MultiPhraseQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhrasePrefixQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhraseQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PrefixQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/RangeQuery.cs
    incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/TermQuery.cs

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MatchAllDocsQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MatchAllDocsQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MatchAllDocsQuery.cs
(original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MatchAllDocsQuery.cs
Tue Oct 10 19:33:57 2006
@@ -193,11 +193,5 @@
 		{
 			return BitConverter.ToInt32(BitConverter.GetBytes(GetBoost()), 0);
 		}
-
-        // {{Aroush-1.9}} Do we need this?!
-        override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MultiPhraseQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MultiPhraseQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MultiPhraseQuery.cs (original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/MultiPhraseQuery.cs Tue
Oct 10 19:33:57 2006
@@ -337,11 +337,5 @@
 			
 			return buffer.ToString();
 		}
-
-        // {{Aroush-1.9}} Do we need this?!
-        override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhrasePrefixQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhrasePrefixQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhrasePrefixQuery.cs
(original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhrasePrefixQuery.cs
Tue Oct 10 19:33:57 2006
@@ -312,10 +312,5 @@
 			
 			return buffer.ToString();
 		}
-        // {{Aroush-1.9}} Do we need this?!
-		override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhraseQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhraseQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhraseQuery.cs (original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PhraseQuery.cs Tue Oct
10 19:33:57 2006
@@ -336,10 +336,5 @@
 		{
 			return BitConverter.ToInt32(BitConverter.GetBytes(GetBoost()), 0) ^ slop ^ terms.GetHashCode()
^ positions.GetHashCode();
 		}
-		// {{Aroush-1.9}} Do we need this?!
-		override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PrefixQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PrefixQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PrefixQuery.cs (original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/PrefixQuery.cs Tue Oct
10 19:33:57 2006
@@ -104,10 +104,5 @@
 		{
 			return BitConverter.ToInt32(BitConverter.GetBytes(GetBoost()), 0) ^ prefix.GetHashCode();
 		}
-        // {{Aroush-1.9}} Do we need this?!
-        override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/RangeQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/RangeQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/RangeQuery.cs (original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/RangeQuery.cs Tue Oct
10 19:33:57 2006
@@ -187,10 +187,5 @@
 		{
 			return BitConverter.ToInt32(BitConverter.GetBytes(GetBoost()), 0) ^ (lowerTerm != null
? lowerTerm.GetHashCode():0) ^ (upperTerm != null?upperTerm.GetHashCode() : 0) ^ (this.inclusive
? 1 : 0);
 		}
-		// {{Aroush-1.9}} Do we need this?!
-		override public System.Object Clone()
-		{
-			return null;
-		}
 	}
 }

Modified: incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/TermQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/TermQuery.cs?view=diff&rev=462667&r1=462666&r2=462667
==============================================================================
--- incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/TermQuery.cs (original)
+++ incubator/lucene.net/tags/Lucene.Net_1_9_1/src/Lucene.Net/Search/TermQuery.cs Tue Oct
10 19:33:57 2006
@@ -202,10 +202,5 @@
 		{
 			return BitConverter.ToInt32(BitConverter.GetBytes(GetBoost()), 0) ^ term.GetHashCode();
 		}
-		// {{Aroush-1.9}} Do we need this?!
-		public override System.Object Clone()
-		{
-			return null;
-		}
 	}
 }



Mime
View raw message