From 7e40315d5d998826ebf3a613496f85e0fe6194af Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 26 Mar 2009 20:09:12 +0000 Subject: * minor: change some static readonlys to consts * adjust user profile iar saving path --- .../Framework/Serialization/ArchiveConstants.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Serialization/ArchiveConstants.cs b/OpenSim/Framework/Serialization/ArchiveConstants.cs index 8ce7b56..02b13be 100644 --- a/OpenSim/Framework/Serialization/ArchiveConstants.cs +++ b/OpenSim/Framework/Serialization/ArchiveConstants.cs @@ -38,53 +38,53 @@ namespace OpenSim.Framework.Serialization /// /// The location of the archive control file /// - public static readonly string CONTROL_FILE_PATH = "archive.xml"; + public const string CONTROL_FILE_PATH = "archive.xml"; /// /// Path for the assets held in an archive /// - public static readonly string ASSETS_PATH = "assets/"; + public const string ASSETS_PATH = "assets/"; /// /// Path for the inventory data /// - public static readonly string INVENTORY_PATH = "inventory/"; + public const string INVENTORY_PATH = "inventory/"; /// /// Path for the prims file /// - public static readonly string OBJECTS_PATH = "objects/"; + public const string OBJECTS_PATH = "objects/"; /// /// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out. /// - public static readonly string TERRAINS_PATH = "terrains/"; + public const string TERRAINS_PATH = "terrains/"; /// /// Path for region settings. /// - public static readonly string SETTINGS_PATH = "settings/"; + public const string SETTINGS_PATH = "settings/"; /// /// Path for user profiles /// - public const string USERS_PATH = "users/"; + public const string USERS_PATH = "userprofiles/"; /// /// The character the separates the uuid from extension information in an archived asset filename /// - public static readonly string ASSET_EXTENSION_SEPARATOR = "_"; + public const string ASSET_EXTENSION_SEPARATOR = "_"; /// /// Used to separate components in an inventory node name /// - public static readonly string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__"; + public const string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__"; /// /// Extensions used for asset types in the archive /// - public static readonly IDictionary ASSET_TYPE_TO_EXTENSION = new Dictionary(); - public static readonly IDictionary EXTENSION_TO_ASSET_TYPE = new Dictionary(); + public const IDictionary ASSET_TYPE_TO_EXTENSION = new Dictionary(); + public const IDictionary EXTENSION_TO_ASSET_TYPE = new Dictionary(); static ArchiveConstants() { -- cgit v1.1