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/ScriptEngine/Common/Executor.cs | |
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/ScriptEngine/Common/Executor.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/Executor.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/Executor.cs b/OpenSim/Region/ScriptEngine/Common/Executor.cs index 1805e38..df28d7d 100644 --- a/OpenSim/Region/ScriptEngine/Common/Executor.cs +++ b/OpenSim/Region/ScriptEngine/Common/Executor.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
88 | 88 | ||
89 | //type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args); | 89 | //type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args); |
90 | 90 | ||
91 | //Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \"" + EventName + "\""); | 91 | //Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \String.Empty + EventName + "\String.Empty); |
92 | 92 | ||
93 | if (Events.ContainsKey(EventName) == false) | 93 | if (Events.ContainsKey(EventName) == false) |
94 | { | 94 | { |
@@ -112,7 +112,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
112 | 112 | ||
113 | if (ev == null) // No event by that name! | 113 | if (ev == null) // No event by that name! |
114 | { | 114 | { |
115 | //Console.WriteLine("ScriptEngine Can not find any event named: \"" + EventName + "\""); | 115 | //Console.WriteLine("ScriptEngine Can not find any event named: \String.Empty + EventName + "\String.Empty); |
116 | return; | 116 | return; |
117 | } | 117 | } |
118 | 118 | ||