From 190bdc8a2e8fa842759087749592769f951834ab Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey
Date: Wed, 5 Aug 2009 17:33:23 +0100
Subject: * Remove some mono compiler warnings
---
.../TextureDownload/UserTextureDownloadService.cs | 29 +++++++++++-----------
1 file changed, 14 insertions(+), 15 deletions(-)
(limited to 'OpenSim/Region/CoreModules/Agent')
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
index 5be2a65..65138e2 100644
--- a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
+++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
@@ -45,8 +45,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
///
public class UserTextureDownloadService
{
- private static readonly ILog m_log
- = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
+// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
///
/// True if the service has been closed, probably because a user with texture requests still queued
@@ -88,13 +87,13 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
/// XXX This is really a temporary solution to deal with the situation where a client continually requests
/// the same missing textures
///
- private readonly IRequestLimitStrategy missingTextureLimitStrategy
- = new RepeatLimitStrategy(MAX_ALLOWED_TEXTURE_REQUESTS);
+// private readonly IRequestLimitStrategy missingTextureLimitStrategy
+// = new RepeatLimitStrategy(MAX_ALLOWED_TEXTURE_REQUESTS);
public UserTextureDownloadService(
IClientAPI client, Scene scene, OpenSim.Framework.BlockingQueue sharedQueue)
{
- m_client = client;
+// m_client = client;
m_scene = scene;
m_sharedSendersQueue = sharedQueue;
}
@@ -231,16 +230,16 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
/// Place a ready texture sender on the processing queue.
///
///
- private void EnqueueTextureSender(ITextureSender textureSender)
- {
- textureSender.Cancel = false;
- textureSender.Sending = true;
-
- if (!m_sharedSendersQueue.Contains(textureSender))
- {
- m_sharedSendersQueue.Enqueue(textureSender);
- }
- }
+// private void EnqueueTextureSender(ITextureSender textureSender)
+// {
+// textureSender.Cancel = false;
+// textureSender.Sending = true;
+//
+// if (!m_sharedSendersQueue.Contains(textureSender))
+// {
+// m_sharedSendersQueue.Enqueue(textureSender);
+// }
+// }
///
/// Close this module.
--
cgit v1.1
From e5904c388388ae5be4eb466c0c70f0ef4c628446 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey
Date: Wed, 5 Aug 2009 17:39:32 +0100
Subject: remove some more mono compiler warnings
---
.../Agent/TextureDownload/UserTextureDownloadService.cs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'OpenSim/Region/CoreModules/Agent')
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
index 65138e2..19f0f90 100644
--- a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
+++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs
@@ -60,22 +60,22 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
/// currently handle properly as far as I know). However, this situation should be handled in a more
/// sophisticated way.
///
- private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5;
+// private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5;
///
/// XXX Also going to limit requests for found textures.
///
- private readonly IRequestLimitStrategy foundTextureLimitStrategy
- = new RepeatLimitStrategy(MAX_ALLOWED_TEXTURE_REQUESTS);
+// private readonly IRequestLimitStrategy foundTextureLimitStrategy
+// = new RepeatLimitStrategy(MAX_ALLOWED_TEXTURE_REQUESTS);
- private readonly IClientAPI m_client;
+// private readonly IClientAPI m_client;
private readonly Scene m_scene;
///
/// Texture Senders are placed in this queue once they have received their texture from the asset
/// cache. Another module actually invokes the send.
///
- private readonly OpenSim.Framework.BlockingQueue m_sharedSendersQueue;
+// private readonly OpenSim.Framework.BlockingQueue m_sharedSendersQueue;
///
/// Holds texture senders before they have received the appropriate texture from the asset cache.
@@ -95,7 +95,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
{
// m_client = client;
m_scene = scene;
- m_sharedSendersQueue = sharedQueue;
+// m_sharedSendersQueue = sharedQueue;
}
///
--
cgit v1.1