mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
This commit is contained in:
@@ -66,7 +66,7 @@ namespace OpenSim.Framework.Console
|
||||
/// </summary>
|
||||
/// <param name="input">arbitrary string for input</param>
|
||||
/// <returns>an ansii color</returns>
|
||||
private ConsoleColor DeriveColor(string input)
|
||||
private static ConsoleColor DeriveColor(string input)
|
||||
{
|
||||
int colIdx = (input.ToUpper().GetHashCode() % 6) + 9;
|
||||
return (ConsoleColor) colIdx;
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace OpenSim.Framework.Console
|
||||
}
|
||||
}
|
||||
|
||||
private ConsoleColor DeriveColor(string input)
|
||||
private static ConsoleColor DeriveColor(string input)
|
||||
{
|
||||
int colIdx = (input.ToUpper().GetHashCode() % 6) + 9;
|
||||
return (ConsoleColor) colIdx;
|
||||
|
||||
Reference in New Issue
Block a user