lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject svn commit: r1388491 - /lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs
Date Fri, 21 Sep 2012 13:39:43 GMT
Author: synhershko
Date: Fri Sep 21 13:39:42 2012
New Revision: 1388491

URL: http://svn.apache.org/viewvc?rev=1388491&view=rev
Log:
Fixing incorrect ArgumentException

Modified:
    lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs

Modified: lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs
URL: http://svn.apache.org/viewvc/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs?rev=1388491&r1=1388490&r2=1388491&view=diff
==============================================================================
--- lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs (original)
+++ lucene.net/trunk/src/contrib/Spatial/Queries/SpatialOperation.cs Fri Sep 21 13:39:42 2012
@@ -69,7 +69,7 @@ namespace Lucene.Net.Spatial.Queries
 			if (!registry.TryGetValue(v, out op) || op == null)
 			{
 				if (!registry.TryGetValue(v.ToUpper(CultureInfo.CreateSpecificCulture("en-US")), out
op) || op == null)
-					throw new ArgumentException("Unknown Operation: " + v, v);
+					throw new ArgumentException("Unknown Operation: " + v, "v");
 			}
 			return op;
 		}



Mime
View raw message