From 001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 13 Feb 2008 03:38:18 +0000 Subject: Clean up more unnecessary String.Format calls --- .../Communications/Cache/UserProfileCacheService.cs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs') diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index 257747b..455f722 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs @@ -233,28 +233,25 @@ namespace OpenSim.Framework.Communications.Cache } else { - m_log.Error( - String.Format("[INVENTORYCACHE]: Could not find root folder for user {0}", remoteClient.Name)); + m_log.ErrorFormat("[INVENTORYCACHE]: Could not find root folder for user {0}", remoteClient.Name); return; } } else { - m_log.Error( - String.Format("[INVENTORYCACHE]: " + + m_log.ErrorFormat("[INVENTORYCACHE]: " + "Could not find user profile for {0} for folder {1}", - remoteClient.Name, folderID)); + remoteClient.Name, folderID); return; } // If we've reached this point then we couldn't find the folder, even though the client thinks // it exists - m_log.Error( - String.Format("[INVENTORYCACHE]: " + + m_log.ErrorFormat("[INVENTORYCACHE]: " + "Could not find folder {0} for user {1}", - folderID, remoteClient.Name)); + folderID, remoteClient.Name); } public void HandlePurgeInventoryDescendents(IClientAPI remoteClient, LLUUID folderID) -- cgit v1.1