lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r833676 - in /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index: DocInverterPerField.cs DocInverterPerThread.cs ReusableStringReader.cs
Date Sat, 07 Nov 2009 13:39:13 GMT
Author: aroush
Date: Sat Nov  7 13:39:13 2009
New Revision: 833676

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

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerField.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerThread.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerField.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/DocInverterPerField.cs?rev=833676&r1=833675&r2=833676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerField.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerField.cs Sat Nov  7 13:39:13
2009
@@ -89,7 +89,7 @@
 						// un-tokenized field
 						System.String stringValue = field.StringValue();
 						int valueLength = stringValue.Length;
-						perThread.singleTokenTokenStream.reinit(stringValue, 0, valueLength);
+						perThread.singleTokenTokenStream.Reinit(stringValue, 0, valueLength);
 						fieldState.attributeSource = perThread.singleTokenTokenStream;
 						consumer.Start(field);
 						

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerThread.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/DocInverterPerThread.cs?rev=833676&r1=833675&r2=833676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerThread.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocInverterPerThread.cs Sat Nov  7
13:39:13 2009
@@ -52,7 +52,7 @@
 				offsetAttribute = (OffsetAttribute) AddAttribute(typeof(OffsetAttribute));
 			}
 			
-			public void  reinit(System.String stringValue, int startOffset, int endOffset)
+			public void  Reinit(System.String stringValue, int startOffset, int endOffset)
 			{
 				termAttribute.SetTermBuffer(stringValue);
 				offsetAttribute.SetOffset(startOffset, endOffset);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/ReusableStringReader.cs?rev=833676&r1=833675&r2=833676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs Sat Nov  7
13:39:13 2009
@@ -50,7 +50,7 @@
 			}
 			else if (0 == left)
 			{
-				return - 1;
+				return 0;
 			}
 			else
 			{



Mime
View raw message