fixing warnings in EstateSettings and correcting coding style:

* warning was: 
                 OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only

* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
0.6.0-stable
Dr Scofield 2008-07-18 10:33:10 +00:00
parent 473059905f
commit 3fb0a08619
1 changed files with 20 additions and 20 deletions

View File

@ -36,7 +36,7 @@ namespace OpenSim.Framework
{
public class EstateSettings
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private ConfigurationMember configMember;
public delegate void SaveDelegate(EstateSettings rs);
@ -274,7 +274,7 @@ namespace OpenSim.Framework
public void AddEstateManager(LLUUID avatarID)
{
if(avatarID == null || avatarID == LLUUID.Zero)
if (avatarID == LLUUID.Zero)
return;
if (!l_EstateManagers.Contains(avatarID))
l_EstateManagers.Add(avatarID);