diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Framework/Console | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Console/ConsolePluginCommand.cs | 20 | ||||
-rw-r--r-- | OpenSim/Framework/Console/OpenSimAppender.cs | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index f21127b..89fd77d 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -42,7 +42,7 @@ namespace OpenSim.Framework.Console | |||
42 | private readonly object m_syncRoot = new object(); | 42 | private readonly object m_syncRoot = new object(); |
43 | 43 | ||
44 | public conscmd_callback m_cmdParser; | 44 | public conscmd_callback m_cmdParser; |
45 | 45 | ||
46 | /// <summary> | 46 | /// <summary> |
47 | /// The default prompt text. | 47 | /// The default prompt text. |
48 | /// </summary> | 48 | /// </summary> |
@@ -249,7 +249,7 @@ namespace OpenSim.Framework.Console | |||
249 | { | 249 | { |
250 | line = System.Console.ReadLine(); | 250 | line = System.Console.ReadLine(); |
251 | } | 251 | } |
252 | 252 | ||
253 | return line; | 253 | return line; |
254 | } | 254 | } |
255 | catch (Exception e) | 255 | catch (Exception e) |
diff --git a/OpenSim/Framework/Console/ConsolePluginCommand.cs b/OpenSim/Framework/Console/ConsolePluginCommand.cs index b3f1c93..bf70645 100644 --- a/OpenSim/Framework/Console/ConsolePluginCommand.cs +++ b/OpenSim/Framework/Console/ConsolePluginCommand.cs | |||
@@ -30,10 +30,10 @@ using System; | |||
30 | namespace OpenSim.Framework.Console | 30 | namespace OpenSim.Framework.Console |
31 | { | 31 | { |
32 | public delegate void ConsoleCommand(string[] comParams); | 32 | public delegate void ConsoleCommand(string[] comParams); |
33 | 33 | ||
34 | /// <summary> | 34 | /// <summary> |
35 | /// Holder object for a new console plugin command | 35 | /// Holder object for a new console plugin command |
36 | /// | 36 | /// |
37 | /// Override the methods like Run and IsHelpfull (but the defaults might work ok.) | 37 | /// Override the methods like Run and IsHelpfull (but the defaults might work ok.) |
38 | /// </summary> | 38 | /// </summary> |
39 | public class ConsolePluginCommand | 39 | public class ConsolePluginCommand |
@@ -52,10 +52,10 @@ namespace OpenSim.Framework.Console | |||
52 | private string[] m_cmdText; | 52 | private string[] m_cmdText; |
53 | 53 | ||
54 | /// <summary> | 54 | /// <summary> |
55 | /// Construct a new ConsolePluginCommand | 55 | /// Construct a new ConsolePluginCommand |
56 | /// | 56 | /// |
57 | /// for use with OpenSim.RegisterConsolePluginCommand(myCmd); | 57 | /// for use with OpenSim.RegisterConsolePluginCommand(myCmd); |
58 | /// | 58 | /// |
59 | /// </summary> | 59 | /// </summary> |
60 | /// <param name="command">in the form of "showme new commands"</param> | 60 | /// <param name="command">in the form of "showme new commands"</param> |
61 | /// <param name="dlg">ommand delegate used in running</param> | 61 | /// <param name="dlg">ommand delegate used in running</param> |
@@ -68,13 +68,13 @@ namespace OpenSim.Framework.Console | |||
68 | } | 68 | } |
69 | 69 | ||
70 | /// <summary> | 70 | /// <summary> |
71 | /// Returns the match length this command has upon the 'cmdWithParams' | 71 | /// Returns the match length this command has upon the 'cmdWithParams' |
72 | /// At least a higher number for "show plugin status" then "show" would return | 72 | /// At least a higher number for "show plugin status" then "show" would return |
73 | /// This is used to have multi length command verbs | 73 | /// This is used to have multi length command verbs |
74 | /// | 74 | /// |
75 | /// @see OopenSim.RunPluginCommands | 75 | /// @see OopenSim.RunPluginCommands |
76 | /// It will only run the one with the highest number | 76 | /// It will only run the one with the highest number |
77 | /// | 77 | /// |
78 | /// </summary> | 78 | /// </summary> |
79 | public int matchLength(string cmdWithParams) | 79 | public int matchLength(string cmdWithParams) |
80 | { | 80 | { |
@@ -106,8 +106,8 @@ namespace OpenSim.Framework.Console | |||
106 | } | 106 | } |
107 | currentParam++; | 107 | currentParam++; |
108 | } | 108 | } |
109 | 109 | ||
110 | } | 110 | } |
111 | string[] sendCmdParams = cmdParams; | 111 | string[] sendCmdParams = cmdParams; |
112 | if (skipParams > 0) | 112 | if (skipParams > 0) |
113 | { | 113 | { |
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs index 2527977..fa26d22 100644 --- a/OpenSim/Framework/Console/OpenSimAppender.cs +++ b/OpenSim/Framework/Console/OpenSimAppender.cs | |||
@@ -39,7 +39,7 @@ namespace OpenSim.Framework.Console | |||
39 | { | 39 | { |
40 | override protected void Append(LoggingEvent le) | 40 | override protected void Append(LoggingEvent le) |
41 | { | 41 | { |
42 | try | 42 | try |
43 | { | 43 | { |
44 | string loggingMessage = RenderLoggingEvent(le); | 44 | string loggingMessage = RenderLoggingEvent(le); |
45 | 45 | ||
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Console | |||
47 | 47 | ||
48 | Regex RE = new Regex(regex, RegexOptions.Multiline); | 48 | Regex RE = new Regex(regex, RegexOptions.Multiline); |
49 | MatchCollection matches = RE.Matches(loggingMessage); | 49 | MatchCollection matches = RE.Matches(loggingMessage); |
50 | 50 | ||
51 | // Get some direct matches $1 $4 is a | 51 | // Get some direct matches $1 $4 is a |
52 | if (matches.Count == 1) | 52 | if (matches.Count == 1) |
53 | { | 53 | { |