* minor: Move GetRandomCapsPath() to a CapsUtil class

This commit is contained in:
Justin Clarke Casey
2009-01-06 17:27:04 +00:00
parent 251387a391
commit b1c2cb3d82
6 changed files with 22 additions and 31 deletions

View File

@@ -334,14 +334,6 @@ namespace OpenSim.Framework
return sb.ToString();
}
public static string GetRandomCapsPath()
{
UUID caps = UUID.Random();
string capsPath = caps.ToString();
capsPath = capsPath.Remove(capsPath.Length - 4, 4);
return capsPath;
}
public static int fast_distance2d(int x, int y)
{
x = Math.Abs(x);