lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject svn commit: r1375273 - /incubator/lucene.net/trunk/src/core/Util/Parameter.cs
Date Mon, 20 Aug 2012 21:58:50 GMT
Author: synhershko
Date: Mon Aug 20 21:58:49 2012
New Revision: 1375273

URL: http://svn.apache.org/viewvc?rev=1375273&view=rev
Log:
Make sure allParameters is never null.

No external interference is expected any way

Modified:
    incubator/lucene.net/trunk/src/core/Util/Parameter.cs

Modified: incubator/lucene.net/trunk/src/core/Util/Parameter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/core/Util/Parameter.cs?rev=1375273&r1=1375272&r2=1375273&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/core/Util/Parameter.cs (original)
+++ incubator/lucene.net/trunk/src/core/Util/Parameter.cs Mon Aug 20 21:58:49 2012
@@ -20,12 +20,12 @@ using System.Collections.Generic;
 
 namespace Lucene.Net.Util
 {
-	
+
 	/// <summary> A serializable Enum class.</summary>
 	[Serializable]
     public abstract class Parameter : IEquatable<Parameter>
 	{
-        internal static Dictionary<string, Parameter> allParameters = new Dictionary<string,
Parameter>();
+        internal readonly static Dictionary<string, Parameter> allParameters = new
Dictionary<string, Parameter>();
 		
 		private readonly string name;
 		



Mime
View raw message