From b25f9f322cdbcde7fd8c043137bf07992e5ef318 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 15 Jan 2008 02:09:55 +0000 Subject: * Mother of all commits: * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate. --- OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs') diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index e645074..36ab4bb 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs @@ -144,7 +144,7 @@ namespace OpenSim.Region.Communications.OGS1 { Hashtable param = new Hashtable(); param["queryid"] = (string) queryID.ToString(); - param["avquery"] = objAlphaNumericPattern.Replace(query, ""); + param["avquery"] = objAlphaNumericPattern.Replace(query, String.Empty); IList parameters = new ArrayList(); parameters.Add(param); XmlRpcRequest req = new XmlRpcRequest("get_avatar_picker_avatar", parameters); @@ -212,7 +212,7 @@ namespace OpenSim.Region.Communications.OGS1 public UserProfileData SetupMasterUser(string firstName, string lastName) { - return SetupMasterUser(firstName, lastName, ""); + return SetupMasterUser(firstName, lastName, String.Empty); } public UserProfileData SetupMasterUser(string firstName, string lastName, string password) -- cgit v1.1