aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs
diff options
context:
space:
mode:
authorlbsa712009-05-06 17:02:51 +0000
committerlbsa712009-05-06 17:02:51 +0000
commit1afdf2ee1fda020926d85f2763617b0bace5d03a (patch)
treea41a85656d8dd3a185adf55f3f09473dcb758b1f /OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs
parentThank you kindly, Fly-Man- for a patch that: (diff)
downloadopensim-SC-1afdf2ee1fda020926d85f2763617b0bace5d03a.zip
opensim-SC-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.gz
opensim-SC-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.bz2
opensim-SC-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.xz
* Added some GetAssetStreamHandlerTests
* Minor tweaks to attain testability
Diffstat (limited to 'OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs')
-rw-r--r--OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs b/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs
index 39041df..fb217d1 100644
--- a/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs
+++ b/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs
@@ -48,7 +48,7 @@ namespace OpenSim.Framework.Servers
48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
49 49
50 // private OpenAsset_Main m_assetManager; 50 // private OpenAsset_Main m_assetManager;
51 private IAssetCache m_assetProvider; 51 private readonly IAssetCache m_assetProvider;
52 52
53 /// <summary> 53 /// <summary>
54 /// Constructor. 54 /// Constructor.
@@ -58,7 +58,7 @@ namespace OpenSim.Framework.Servers
58 public CachedGetAssetStreamHandler(IAssetCache assetProvider) 58 public CachedGetAssetStreamHandler(IAssetCache assetProvider)
59 : base("GET", "/assets") 59 : base("GET", "/assets")
60 { 60 {
61 m_log.Info("[REST]: In Get Request"); 61 // m_log.Info("[REST]: In Get Request");
62 // m_assetManager = assetManager; 62 // m_assetManager = assetManager;
63 m_assetProvider = assetProvider; 63 m_assetProvider = assetProvider;
64 } 64 }