From 6ef9d4da901a346c232458317cca6268da888e2e Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 18 Aug 2008 00:39:10 +0000 Subject: Formatting cleanup. --- OpenSim/Framework/Console/ConsoleBase.cs | 4 ++-- OpenSim/Framework/Console/ConsolePluginCommand.cs | 20 ++++++++++---------- OpenSim/Framework/Console/OpenSimAppender.cs | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'OpenSim/Framework/Console') 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 private readonly object m_syncRoot = new object(); public conscmd_callback m_cmdParser; - + /// /// The default prompt text. /// @@ -249,7 +249,7 @@ namespace OpenSim.Framework.Console { line = System.Console.ReadLine(); } - + return line; } 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; namespace OpenSim.Framework.Console { public delegate void ConsoleCommand(string[] comParams); - + /// /// Holder object for a new console plugin command - /// + /// /// Override the methods like Run and IsHelpfull (but the defaults might work ok.) /// public class ConsolePluginCommand @@ -52,10 +52,10 @@ namespace OpenSim.Framework.Console private string[] m_cmdText; /// - /// Construct a new ConsolePluginCommand - /// + /// Construct a new ConsolePluginCommand + /// /// for use with OpenSim.RegisterConsolePluginCommand(myCmd); - /// + /// /// /// in the form of "showme new commands" /// ommand delegate used in running @@ -68,13 +68,13 @@ namespace OpenSim.Framework.Console } /// - /// Returns the match length this command has upon the 'cmdWithParams' + /// Returns the match length this command has upon the 'cmdWithParams' /// At least a higher number for "show plugin status" then "show" would return /// This is used to have multi length command verbs - /// + /// /// @see OopenSim.RunPluginCommands /// It will only run the one with the highest number - /// + /// /// public int matchLength(string cmdWithParams) { @@ -106,8 +106,8 @@ namespace OpenSim.Framework.Console } currentParam++; } - - } + + } string[] sendCmdParams = cmdParams; if (skipParams > 0) { 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 { override protected void Append(LoggingEvent le) { - try + try { string loggingMessage = RenderLoggingEvent(le); @@ -47,7 +47,7 @@ namespace OpenSim.Framework.Console Regex RE = new Regex(regex, RegexOptions.Multiline); MatchCollection matches = RE.Matches(loggingMessage); - + // Get some direct matches $1 $4 is a if (matches.Count == 1) { -- cgit v1.1