lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r419402 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs
Date Thu, 06 Jul 2006 01:18:16 GMT
Author: aroush
Date: Wed Jul  5 18:18:16 2006
New Revision: 419402

URL: http://svn.apache.org/viewvc?rev=419402&view=rev
Log: (empty)

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Document/NumberTools.cs?rev=419402&r1=419401&r2=419402&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs Wed Jul  5 18:18:16
2006
@@ -37,7 +37,7 @@
 	public class NumberTools
 	{
 		
-		private const int RADIX = 16; // 36;    {{Arousdh-1.9}} Java's is 36, but .NET's is 16;
will this be an issue?
+		private const int RADIX = 16;
 		
 		private const char NEGATIVE_PREFIX = '-';
 		
@@ -46,10 +46,10 @@
 		
 		//NB: this must be less than
 		/// <summary> Equivalent to longToString(Long.MIN_VALUE)</summary>
-		public static readonly System.String MIN_STRING_VALUE = NEGATIVE_PREFIX + "0000000000000";
+		public static readonly System.String MIN_STRING_VALUE = NEGATIVE_PREFIX + "0000000000000000";
 		
 		/// <summary> Equivalent to longToString(Long.MAX_VALUE)</summary>
-		public static readonly System.String MAX_STRING_VALUE = POSITIVE_PREFIX + "1y2p0ij32e8e7";
+		public static readonly System.String MAX_STRING_VALUE = POSITIVE_PREFIX + "7fffffffffffffff";
 		
 		/// <summary> The length of (all) strings returned by {@link #longToString}</summary>
 		public static readonly int STR_SIZE = MIN_STRING_VALUE.Length;



Mime
View raw message