lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r833823 - in /incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis: NumericTokenStream.cs TokenStream.cs
Date Sun, 08 Nov 2009 04:38:21 GMT
Author: aroush
Date: Sun Nov  8 04:38:20 2009
New Revision: 833823

URL: http://svn.apache.org/viewvc?rev=833823&view=rev
Log:
Fixed JUnit test-cases for: TestNumericTokenStream.cs

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/NumericTokenStream.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenStream.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/NumericTokenStream.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/NumericTokenStream.cs?rev=833823&r1=833822&r2=833823&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/NumericTokenStream.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/NumericTokenStream.cs Sun Nov  8
04:38:20 2009
@@ -211,7 +211,7 @@
 		}
 		
 		// @Override
-		public void  reset()
+		public override void  Reset()
 		{
 			if (valSize == 0)
 				throw new System.SystemException("call set???Value() before usage");
@@ -219,7 +219,7 @@
 		}
 		
 		// @Override
-		public bool incrementToken()
+		public override bool IncrementToken()
 		{
 			if (valSize == 0)
 				throw new System.SystemException("call set???Value() before usage");

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenStream.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/TokenStream.cs?rev=833823&r1=833822&r2=833823&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenStream.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenStream.cs Sun Nov  8 04:38:20
2009
@@ -124,7 +124,7 @@
 			{
 				try
 				{
-					return clazz.GetMethod(name, (params_Renamed == null)?new System.Type[0]:(System.Type[])
params_Renamed).DeclaringType != typeof(TokenStream);
+					return clazz.GetMethod(name, params_Renamed).DeclaringType != typeof(TokenStream);
 				}
 				catch (System.MethodAccessException e)
 				{



Mime
View raw message