minor: remove some mono compiler warnings, add --merge load oar switch to help information
parent
c18422ad3a
commit
a4d2a97bc6
|
@ -79,7 +79,8 @@ namespace OpenSim.Framework.Tests
|
||||||
cachedItem.Store(foo);
|
cachedItem.Store(foo);
|
||||||
cache.Store(cacheItemUUID.ToString(), cachedItem);
|
cache.Store(cacheItemUUID.ToString(), cachedItem);
|
||||||
|
|
||||||
object citem = cache.Get(cacheItemUUID.ToString());
|
cache.Get(cacheItemUUID.ToString());
|
||||||
|
//object citem = cache.Get(cacheItemUUID.ToString());
|
||||||
//Assert.That(citem == null, "Item should not be in Cache because the expiry time was before now");
|
//Assert.That(citem == null, "Item should not be in Cache because the expiry time was before now");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +95,8 @@ namespace OpenSim.Framework.Tests
|
||||||
cachedItem.Store(foo);
|
cachedItem.Store(foo);
|
||||||
cache.Store(cacheItemUUID.ToString(), cachedItem);
|
cache.Store(cacheItemUUID.ToString(), cachedItem);
|
||||||
cache.Invalidate(ImmediateExpiryUUID.ToString());
|
cache.Invalidate(ImmediateExpiryUUID.ToString());
|
||||||
object citem = cache.Get(cacheItemUUID.ToString());
|
cache.Get(cacheItemUUID.ToString());
|
||||||
|
//object citem = cache.Get(cacheItemUUID.ToString());
|
||||||
//Assert.That(citem == null, "Item should not be in Cache because we manually invalidated it");
|
//Assert.That(citem == null, "Item should not be in Cache because we manually invalidated it");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
public class HGCommands
|
public class HGCommands
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public static Scene CreateScene(RegionInfo regionInfo, AgentCircuitManager circuitManager, CommunicationsManager m_commsManager,
|
public static Scene CreateScene(RegionInfo regionInfo, AgentCircuitManager circuitManager, CommunicationsManager m_commsManager,
|
||||||
StorageManager storageManager, ModuleLoader m_moduleLoader, ConfigSettings m_configSettings, OpenSimConfigSource m_config, string m_version)
|
StorageManager storageManager, ModuleLoader m_moduleLoader, ConfigSettings m_configSettings, OpenSimConfigSource m_config, string m_version)
|
||||||
|
|
|
@ -232,7 +232,7 @@ namespace OpenSim
|
||||||
"Save named prim to XML2", SavePrimsXml2);
|
"Save named prim to XML2", SavePrimsXml2);
|
||||||
|
|
||||||
m_console.Commands.AddCommand("region", false, "load oar",
|
m_console.Commands.AddCommand("region", false, "load oar",
|
||||||
"load oar <oar name>",
|
"load oar [--merge] <oar name>",
|
||||||
"Load a region's data from OAR archive", LoadOar);
|
"Load a region's data from OAR archive", LoadOar);
|
||||||
|
|
||||||
m_console.Commands.AddCommand("region", false, "save oar",
|
m_console.Commands.AddCommand("region", false, "save oar",
|
||||||
|
|
|
@ -57,7 +57,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||||
#region ISharedRegionModule Members
|
#region ISharedRegionModule Members
|
||||||
public virtual void Initialise(IConfigSource config)
|
public virtual void Initialise(IConfigSource config)
|
||||||
{
|
{
|
||||||
|
|
||||||
m_config = config.Configs["Chat"];
|
m_config = config.Configs["Chat"];
|
||||||
|
|
||||||
if (null == m_config)
|
if (null == m_config)
|
||||||
|
|
Loading…
Reference in New Issue