diff options
author | Adam Frisby | 2008-01-15 02:09:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-01-15 02:09:55 +0000 |
commit | b25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch) | |
tree | 7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Region/ClientStack | |
parent | Set svn:eol-style. (diff) | |
download | opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2 opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index c937fab..d3a8254 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -343,7 +343,7 @@ namespace OpenSim.Region.ClientStack | |||
343 | { | 343 | { |
344 | if (m_debug > 0) | 344 | if (m_debug > 0) |
345 | { | 345 | { |
346 | string info = ""; | 346 | string info = String.Empty; |
347 | if (m_debug < 255 && packet.Type == PacketType.AgentUpdate) | 347 | if (m_debug < 255 && packet.Type == PacketType.AgentUpdate) |
348 | return; | 348 | return; |
349 | if (m_debug < 254 && packet.Type == PacketType.ViewerEffect) | 349 | if (m_debug < 254 && packet.Type == PacketType.ViewerEffect) |
@@ -783,7 +783,7 @@ namespace OpenSim.Region.ClientStack | |||
783 | agentData.child = false; | 783 | agentData.child = false; |
784 | agentData.firstname = m_firstName; | 784 | agentData.firstname = m_firstName; |
785 | agentData.lastname = m_lastName; | 785 | agentData.lastname = m_lastName; |
786 | agentData.CapsPath = ""; | 786 | agentData.CapsPath = String.Empty; |
787 | return agentData; | 787 | return agentData; |
788 | } | 788 | } |
789 | 789 | ||
@@ -2521,7 +2521,7 @@ namespace OpenSim.Region.ClientStack | |||
2521 | case PacketType.ChatFromViewer: | 2521 | case PacketType.ChatFromViewer: |
2522 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack; | 2522 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack; |
2523 | 2523 | ||
2524 | string fromName = ""; //ClientAvatar.firstname + " " + ClientAvatar.lastname; | 2524 | string fromName = String.Empty; //ClientAvatar.firstname + " " + ClientAvatar.lastname; |
2525 | byte[] message = inchatpack.ChatData.Message; | 2525 | byte[] message = inchatpack.ChatData.Message; |
2526 | byte type = inchatpack.ChatData.Type; | 2526 | byte type = inchatpack.ChatData.Type; |
2527 | LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos; | 2527 | LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos; |