diff --git a/OpenSim/Framework/Communications/CAPSService.cs b/OpenSim/Framework/Communications/CAPSService.cs index 59cfc06530..9cb04a9917 100644 --- a/OpenSim/Framework/Communications/CAPSService.cs +++ b/OpenSim/Framework/Communications/CAPSService.cs @@ -32,7 +32,7 @@ namespace OpenSim.Framework.Communications { public class CAPSService { - private BaseHttpServer m_server; + private readonly BaseHttpServer m_server; public CAPSService(BaseHttpServer httpServer) { diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs index 13e7261159..41d8caccff 100644 --- a/OpenSim/Region/Environment/ModuleLoader.cs +++ b/OpenSim/Region/Environment/ModuleLoader.cs @@ -43,7 +43,7 @@ namespace OpenSim.Region.Environment public Dictionary LoadedAssemblys = new Dictionary(); private readonly List m_loadedModules = new List(); - private Dictionary m_loadedSharedModules = new Dictionary(); + private readonly Dictionary m_loadedSharedModules = new Dictionary(); private readonly LogBase m_log; private readonly IConfigSource m_config; diff --git a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs index c31a79b7e1..4dd1cb1183 100644 --- a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs +++ b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs @@ -41,7 +41,7 @@ namespace OpenSim.Region.Environment.Modules public class AvatarFactoryModule : IAvatarFactory { private Scene m_scene = null; - private Dictionary m_avatarsAppearance = new Dictionary(); + private readonly Dictionary m_avatarsAppearance = new Dictionary(); public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance) {