diff options
author | lbsa71 | 2009-02-12 09:53:12 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 09:53:12 +0000 |
commit | 801da4346aeb3c08969c4845f5c595135a64470a (patch) | |
tree | 2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Framework/Console | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 721e91a..793270b 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -26,10 +26,11 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Text; | ||
30 | using System.Reflection; | ||
31 | using System.Diagnostics; | ||
32 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Diagnostics; | ||
31 | using System.Reflection; | ||
32 | using System.Text; | ||
33 | using System.Threading; | ||
33 | using log4net; | 34 | using log4net; |
34 | 35 | ||
35 | namespace OpenSim.Framework.Console | 36 | namespace OpenSim.Framework.Console |
@@ -77,8 +78,8 @@ namespace OpenSim.Framework.Console | |||
77 | /// <value> | 78 | /// <value> |
78 | /// Commands organized by keyword in a tree | 79 | /// Commands organized by keyword in a tree |
79 | /// </value> | 80 | /// </value> |
80 | private Dictionary<string, Object> tree = | 81 | private Dictionary<string, object> tree = |
81 | new Dictionary<string, Object>(); | 82 | new Dictionary<string, object>(); |
82 | 83 | ||
83 | /// <summary> | 84 | /// <summary> |
84 | /// Get help for the given help string | 85 | /// Get help for the given help string |
@@ -149,7 +150,7 @@ namespace OpenSim.Framework.Console | |||
149 | return help; | 150 | return help; |
150 | } | 151 | } |
151 | 152 | ||
152 | private List<string> CollectHelp(Dictionary<string, Object> dict) | 153 | private List<string> CollectHelp(Dictionary<string, object> dict) |
153 | { | 154 | { |
154 | List<string> result = new List<string>(); | 155 | List<string> result = new List<string>(); |
155 | 156 | ||
@@ -708,7 +709,7 @@ namespace OpenSim.Framework.Console | |||
708 | 709 | ||
709 | public void LockOutput() | 710 | public void LockOutput() |
710 | { | 711 | { |
711 | System.Threading.Monitor.Enter(cmdline); | 712 | Monitor.Enter(cmdline); |
712 | try | 713 | try |
713 | { | 714 | { |
714 | if (y != -1) | 715 | if (y != -1) |
@@ -738,7 +739,7 @@ namespace OpenSim.Framework.Console | |||
738 | y = System.Console.CursorTop; | 739 | y = System.Console.CursorTop; |
739 | Show(); | 740 | Show(); |
740 | } | 741 | } |
741 | System.Threading.Monitor.Exit(cmdline); | 742 | Monitor.Exit(cmdline); |
742 | } | 743 | } |
743 | 744 | ||
744 | public void Output(string text) | 745 | public void Output(string text) |