From 7794fc3766a71f6c708b53674064f69279434d1e Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 2 Mar 2008 22:28:48 +0000 Subject: Change handler001 through handler009 to more appropriate names consisten with their use. All done with all 94 handlers from handler001 through handler094. Hopefully we can move forward without numbered handlers. --- .../Framework/Communications/Capabilities/Caps.cs | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'OpenSim/Framework/Communications') diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 0eb144c..8f41d62 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs @@ -475,7 +475,7 @@ namespace OpenSim.Region.Capabilities public class AssetUploader { public event UpLoadedAsset OnUpLoad; - private UpLoadedAsset handler001 = null; + private UpLoadedAsset handlerUpLoad = null; private string uploaderPath = String.Empty; private LLUUID newAssetID; @@ -529,10 +529,10 @@ namespace OpenSim.Region.Capabilities { SaveAssetToFile(m_assetName + ".jp2", data); } - handler001 = OnUpLoad; - if (handler001 != null) + handlerUpLoad = OnUpLoad; + if (handlerUpLoad != null) { - handler001(m_assetName, m_assetDes, newAssetID, inv, parentFolder, data, m_invType, m_assetType); + handlerUpLoad(m_assetName, m_assetDes, newAssetID, inv, parentFolder, data, m_invType, m_assetType); } return res; @@ -569,7 +569,7 @@ namespace OpenSim.Region.Capabilities { public event UpdateItem OnUpLoad; - private UpdateItem handler001 = null; + private UpdateItem handlerUpdateItem = null; private string uploaderPath = String.Empty; private LLUUID inventoryItemID; @@ -598,10 +598,10 @@ namespace OpenSim.Region.Capabilities string res = String.Empty; LLSDAssetUploadComplete uploadComplete = new LLSDAssetUploadComplete(); LLUUID assetID = LLUUID.Zero; - handler001 = OnUpLoad; - if (handler001 != null) + handlerUpdateItem = OnUpLoad; + if (handlerUpdateItem != null) { - assetID = handler001(inv, data); + assetID = handlerUpdateItem(inv, data); } uploadComplete.new_asset = assetID.ToString(); @@ -651,7 +651,7 @@ namespace OpenSim.Region.Capabilities { public event UpdateTaskScript OnUpLoad; - private UpdateTaskScript handler001 = null; + private UpdateTaskScript handlerUpdateTaskScript = null; private string uploaderPath = String.Empty; private LLUUID inventoryItemID; @@ -693,10 +693,10 @@ namespace OpenSim.Region.Capabilities string res = String.Empty; LLSDTaskInventoryUploadComplete uploadComplete = new LLSDTaskInventoryUploadComplete(); - handler001 = OnUpLoad; - if (handler001 != null) + handlerUpdateTaskScript = OnUpLoad; + if (handlerUpdateTaskScript != null) { - handler001(inventoryItemID, primID, isScriptRunning, data); + handlerUpdateTaskScript(inventoryItemID, primID, isScriptRunning, data); } uploadComplete.item_id = inventoryItemID; -- cgit v1.1