aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJeff Ames2008-12-03 05:18:28 +0000
committerJeff Ames2008-12-03 05:18:28 +0000
commitab83713a2c193332c0975bdf7bead7c35b5cdff5 (patch)
tree41df38d9d4bc3cad2ee04f09d7168f69749e2848 /OpenSim
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-ab83713a2c193332c0975bdf7bead7c35b5cdff5.zip
opensim-SC_OLD-ab83713a2c193332c0975bdf7bead7c35b5cdff5.tar.gz
opensim-SC_OLD-ab83713a2c193332c0975bdf7bead7c35b5cdff5.tar.bz2
opensim-SC_OLD-ab83713a2c193332c0975bdf7bead7c35b5cdff5.tar.xz
Make a couple log4net instances static readonly.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/DataSnapshot/SnapshotStore.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs
index 311350d..dd30d8a 100644
--- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs
+++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Region.DataSnapshot
42 private String m_directory = "unyuu"; //not an attempt at adding RM references to core SVN, honest 42 private String m_directory = "unyuu"; //not an attempt at adding RM references to core SVN, honest
43 private Dictionary<Scene, bool> m_scenes = null; 43 private Dictionary<Scene, bool> m_scenes = null;
44 private List<IDataSnapshotProvider> m_providers = null; 44 private List<IDataSnapshotProvider> m_providers = null;
45 private log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
46 private Dictionary<String, String> m_gridinfo = null; 46 private Dictionary<String, String> m_gridinfo = null;
47 private bool m_cacheEnabled = true; 47 private bool m_cacheEnabled = true;
48 private string m_listener_port = "9000"; //TODO: Set default port over 9000 48 private string m_listener_port = "9000"; //TODO: Set default port over 9000
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
index a29931c..eab4461 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver
45{ 45{
46 public class InventoryArchiveReadRequest 46 public class InventoryArchiveReadRequest
47 { 47 {
48 private static ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
49 49
50 protected Scene scene; 50 protected Scene scene;
51 protected TarArchiveReader archive; 51 protected TarArchiveReader archive;