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.aspx0.6.0-stable
parent
473059905f
commit
3fb0a08619
|
@ -36,7 +36,7 @@ namespace OpenSim.Framework
|
||||||
{
|
{
|
||||||
public class EstateSettings
|
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;
|
private ConfigurationMember configMember;
|
||||||
|
|
||||||
public delegate void SaveDelegate(EstateSettings rs);
|
public delegate void SaveDelegate(EstateSettings rs);
|
||||||
|
@ -274,7 +274,7 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
public void AddEstateManager(LLUUID avatarID)
|
public void AddEstateManager(LLUUID avatarID)
|
||||||
{
|
{
|
||||||
if(avatarID == null || avatarID == LLUUID.Zero)
|
if (avatarID == LLUUID.Zero)
|
||||||
return;
|
return;
|
||||||
if (!l_EstateManagers.Contains(avatarID))
|
if (!l_EstateManagers.Contains(avatarID))
|
||||||
l_EstateManagers.Add(avatarID);
|
l_EstateManagers.Add(avatarID);
|
||||||
|
|
Loading…
Reference in New Issue