lucene-lucene-net-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r683795 - in /incubator/lucene.net/trunk/C#/src: Lucene.Net/Search/FieldCacheImpl.cs Test/Search/CheckHits.cs Test/Search/Function/FunctionTestSetup.cs
Date Fri, 08 Aug 2008 01:49:04 GMT
Author: aroush
Date: Thu Aug  7 18:49:04 2008
New Revision: 683795

URL: http://svn.apache.org/viewvc?rev=683795&view=rev
Log:
LUCENENET-140 "System.Single.Parse --> SupportClass.Single.Parse"

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FieldCacheImpl.cs?rev=683795&r1=683794&r2=683795&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs Thu Aug  7 18:49:04
2008
@@ -480,7 +480,7 @@
 						{
 							try
 							{
-								System.Single.Parse(termtext);
+								SupportClass.Single.Parse(termtext);
 								ret = Enclosing_Instance.GetFloats(reader, field);
 							}
 							catch (System.FormatException nfe3)

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/CheckHits.cs?rev=683795&r1=683794&r2=683795&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs Thu Aug  7 18:49:04 2008
@@ -360,7 +360,7 @@
 							int k2 = descr.IndexOf(" ", k1);
 							try
 							{
-								x = System.Single.Parse(descr.Substring(k1, (k2) - (k1)).Trim());
+								x = SupportClass.Single.Parse(descr.Substring(k1, (k2) - (k1)).Trim());
 								if (descr.Substring(k2).Trim().Equals("times others of:"))
 								{
 									maxTimesOthers = true;

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/FunctionTestSetup.cs?rev=683795&r1=683794&r2=683795&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs Thu Aug  7
18:49:04 2008
@@ -142,7 +142,7 @@
 		// extract expected doc score from its ID Field: "ID7" --> 7.0
 		protected internal virtual float ExpectedFieldScore(System.String docIDFieldVal)
 		{
-			return System.Single.Parse(docIDFieldVal.Substring(2));
+			return SupportClass.Single.Parse(docIDFieldVal.Substring(2));
 		}
 		
 		// debug messages (change DBG to true for anything to print) 



Mime
View raw message