aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-10 04:28:56 +0000
committerJeff Ames2009-06-10 04:28:56 +0000
commita23d64dec1cbf88abc3c7e84664a683dee534e4a (patch)
tree7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs
parentLetting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff)
downloadopensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs
index 6f41c03..13f6426 100644
--- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs
@@ -392,9 +392,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
392 // on anything other than a URI token boundary. Otherwise we 392 // on anything other than a URI token boundary. Otherwise we
393 // may match on URL's that were not intended for this handler. 393 // may match on URL's that were not intended for this handler.
394 394
395 return ( path.Length == key.Length || 395 return (path.Length == key.Length ||
396 path.Substring(key.Length,1) == Rest.UrlPathSeparator); 396 path.Substring(key.Length, 1) == Rest.UrlPathSeparator);
397
398 } 397 }
399 } 398 }
400 399
@@ -416,9 +415,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
416 // on anything other than a URI token boundary. Otherwise we 415 // on anything other than a URI token boundary. Otherwise we
417 // may match on URL's that were not intended for this handler. 416 // may match on URL's that were not intended for this handler.
418 417
419 return ( path.Length == key.Length || 418 return (path.Length == key.Length ||
420 path.Substring(key.Length,1) == Rest.UrlPathSeparator); 419 path.Substring(key.Length, 1) == Rest.UrlPathSeparator);
421
422 } 420 }
423 } 421 }
424 } 422 }
@@ -465,8 +463,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
465 463
466 try 464 try
467 { 465 {
468 handled = ( FindPathHandler(request, response) || 466 handled = (FindPathHandler(request, response) ||
469 FindStreamHandler(request, response) ); 467 FindStreamHandler(request, response));
470 } 468 }
471 catch (Exception e) 469 catch (Exception e)
472 { 470 {