diff options
author | lbsa71 | 2009-05-06 17:02:51 +0000 |
---|---|---|
committer | lbsa71 | 2009-05-06 17:02:51 +0000 |
commit | 1afdf2ee1fda020926d85f2763617b0bace5d03a (patch) | |
tree | a41a85656d8dd3a185adf55f3f09473dcb758b1f /OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs | |
parent | Thank you kindly, Fly-Man- for a patch that: (diff) | |
download | opensim-SC_OLD-1afdf2ee1fda020926d85f2763617b0bace5d03a.zip opensim-SC_OLD-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.gz opensim-SC_OLD-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.bz2 opensim-SC_OLD-1afdf2ee1fda020926d85f2763617b0bace5d03a.tar.xz |
* Added some GetAssetStreamHandlerTests
* Minor tweaks to attain testability
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs | 4 |
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 | } |