diff options
author | Adam Frisby | 2008-05-01 16:23:53 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 16:23:53 +0000 |
commit | 01f31fd933bbaec246d2fef5756b7d83be7980e0 (patch) | |
tree | 45ce7727e83238bf492924bea3ff5f0b6c82acbc /OpenSim/Framework/Console | |
parent | * In ur code. Making it static. (diff) | |
download | opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.zip opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.gz opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.bz2 opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.xz |
* Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Console/OpenSimAppender.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 0b22d0e..b336545 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Framework.Console | |||
66 | /// </summary> | 66 | /// </summary> |
67 | /// <param name="input">arbitrary string for input</param> | 67 | /// <param name="input">arbitrary string for input</param> |
68 | /// <returns>an ansii color</returns> | 68 | /// <returns>an ansii color</returns> |
69 | private ConsoleColor DeriveColor(string input) | 69 | private static ConsoleColor DeriveColor(string input) |
70 | { | 70 | { |
71 | int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; | 71 | int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; |
72 | return (ConsoleColor) colIdx; | 72 | return (ConsoleColor) colIdx; |
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs index 86df3c0..d381179 100644 --- a/OpenSim/Framework/Console/OpenSimAppender.cs +++ b/OpenSim/Framework/Console/OpenSimAppender.cs | |||
@@ -101,7 +101,7 @@ namespace OpenSim.Framework.Console | |||
101 | } | 101 | } |
102 | } | 102 | } |
103 | 103 | ||
104 | private ConsoleColor DeriveColor(string input) | 104 | private static ConsoleColor DeriveColor(string input) |
105 | { | 105 | { |
106 | int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; | 106 | int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; |
107 | return (ConsoleColor) colIdx; | 107 | return (ConsoleColor) colIdx; |