diff options
author | Jeff Ames | 2008-08-19 02:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-19 02:59:27 +0000 |
commit | bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca (patch) | |
tree | 6350036021802eadb2540d14461eb545afd7dea6 /OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs | |
parent | Attachment persistence!!! Patch #9169 (Mantis #1171) (diff) | |
download | opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.zip opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.gz opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.bz2 opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.xz |
Update svn properties, formatting cleanup.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs index 2bb91a4..e8c0ee8 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs | |||
@@ -38,10 +38,8 @@ using Nini.Config; | |||
38 | 38 | ||
39 | namespace OpenSim.ApplicationPlugins.Rest.Inventory | 39 | namespace OpenSim.ApplicationPlugins.Rest.Inventory |
40 | { | 40 | { |
41 | |||
42 | public class Rest | 41 | public class Rest |
43 | { | 42 | { |
44 | |||
45 | internal static readonly log4net.ILog Log = | 43 | internal static readonly log4net.ILog Log = |
46 | log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 45 | ||
@@ -374,7 +372,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
374 | } | 372 | } |
375 | 373 | ||
376 | return sum; | 374 | return sum; |
377 | |||
378 | } | 375 | } |
379 | 376 | ||
380 | public static string Int2Hex8(int val) | 377 | public static string Int2Hex8(int val) |
@@ -409,7 +406,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
409 | 406 | ||
410 | public static void Dump(byte[] data) | 407 | public static void Dump(byte[] data) |
411 | { | 408 | { |
412 | |||
413 | char[] buffer = new char[Rest.DumpLineSize]; | 409 | char[] buffer = new char[Rest.DumpLineSize]; |
414 | int cc = 0; | 410 | int cc = 0; |
415 | 411 | ||
@@ -435,7 +431,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
435 | Console.Write(" |"+(new String(buffer))+"|"); | 431 | Console.Write(" |"+(new String(buffer))+"|"); |
436 | cc = 0; | 432 | cc = 0; |
437 | } | 433 | } |
438 | |||
439 | } | 434 | } |
440 | 435 | ||
441 | // Finish off any incomplete line | 436 | // Finish off any incomplete line |
@@ -455,16 +450,13 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
455 | { | 450 | { |
456 | Console.Write("\n"); | 451 | Console.Write("\n"); |
457 | } | 452 | } |
458 | |||
459 | } | 453 | } |
460 | |||
461 | } | 454 | } |
462 | 455 | ||
463 | // Local exception type | 456 | // Local exception type |
464 | 457 | ||
465 | public class RestException : Exception | 458 | public class RestException : Exception |
466 | { | 459 | { |
467 | |||
468 | internal int statusCode; | 460 | internal int statusCode; |
469 | internal string statusDesc; | 461 | internal string statusDesc; |
470 | internal string httpmethod; | 462 | internal string httpmethod; |
@@ -474,5 +466,4 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
474 | { | 466 | { |
475 | } | 467 | } |
476 | } | 468 | } |
477 | |||
478 | } | 469 | } |