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