* minor: remove mono compiler warnings
parent
5e9682cef7
commit
22a4d6acc2
|
@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
|
||||
public class AssetService
|
||||
{
|
||||
private IUserService m_userService;
|
||||
// private IUserService m_userService;
|
||||
private bool m_doLookup = false;
|
||||
|
||||
public bool DoLookup
|
||||
|
@ -101,13 +101,13 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
get { return m_doLookup; }
|
||||
set { m_doLookup = value; }
|
||||
}
|
||||
private static readonly ILog m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log
|
||||
// = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public AssetService(Scene m_scene)
|
||||
{
|
||||
AddHttpHandlers(m_scene);
|
||||
m_userService = m_scene.CommsManager.UserService;
|
||||
// m_userService = m_scene.CommsManager.UserService;
|
||||
}
|
||||
|
||||
protected void AddHttpHandlers(Scene m_scene)
|
||||
|
@ -118,7 +118,6 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
IHttpServer httpServer = m_scene.CommsManager.HttpServer;
|
||||
httpServer.AddStreamHandler(new GetAssetStreamHandler(m_assetProvider));
|
||||
httpServer.AddStreamHandler(new PostAssetStreamHandler(m_assetProvider));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
|
||||
public class GridService
|
||||
{
|
||||
private IUserService m_userService;
|
||||
// private IUserService m_userService;
|
||||
private IGridServices m_gridService;
|
||||
private bool m_doLookup = false;
|
||||
|
||||
|
@ -115,14 +115,14 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
public GridService(Scene m_scene)
|
||||
{
|
||||
AddHandlers(m_scene);
|
||||
m_userService = m_scene.CommsManager.UserService;
|
||||
// m_userService = m_scene.CommsManager.UserService;
|
||||
m_gridService = m_scene.CommsManager.GridService;
|
||||
}
|
||||
|
||||
protected void AddHandlers(Scene m_scene)
|
||||
{
|
||||
IAssetDataPlugin m_assetProvider
|
||||
= ((AssetServerBase)m_scene.CommsManager.AssetCache.AssetServer).AssetProviderPlugin;
|
||||
// IAssetDataPlugin m_assetProvider
|
||||
// = ((AssetServerBase)m_scene.CommsManager.AssetCache.AssetServer).AssetProviderPlugin;
|
||||
|
||||
IHttpServer httpServer = m_scene.CommsManager.HttpServer;
|
||||
httpServer.AddXmlRPCHandler("simulator_data_request", XmlRpcSimulatorDataRequestMethod);
|
||||
|
|
Loading…
Reference in New Issue