minor: resolve warnings from unused fields in XBakesGet and Post handlers

ghosts
Justin Clark-Casey (justincc) 2014-10-09 01:07:49 +01:00
parent e902824da7
commit 3e4550adf7
2 changed files with 3 additions and 6 deletions

View File

@ -45,7 +45,7 @@ namespace OpenSim.Server.Handlers.BakedTextures
{
public class BakesServerGetHandler : BaseStreamHandler
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private IBakedTextureService m_BakesService;
private System.Text.UTF8Encoding utf8 =

View File

@ -45,13 +45,10 @@ namespace OpenSim.Server.Handlers.BakedTextures
{
public class BakesServerPostHandler : BaseStreamHandler
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private IBakedTextureService m_BakesService;
private System.Text.UTF8Encoding utf8 =
new System.Text.UTF8Encoding();
public BakesServerPostHandler(IBakedTextureService service, IServiceAuth auth) :
base("POST", "/bakes", auth)
{
@ -76,4 +73,4 @@ namespace OpenSim.Server.Handlers.BakedTextures
return new byte[0];
}
}
}
}