diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CachedUserInfo.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index 1cbffc7..b98cec7 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -485,10 +485,10 @@ namespace OpenSim.Framework.Communications.Cache | |||
485 | { | 485 | { |
486 | if (HasInventory) | 486 | if (HasInventory) |
487 | { | 487 | { |
488 | if(item.Folder == LLUUID.Zero) | 488 | if (item.Folder == LLUUID.Zero) |
489 | { | 489 | { |
490 | InventoryFolderImpl f=FindFolderForType(item.AssetType); | 490 | InventoryFolderImpl f=FindFolderForType(item.AssetType); |
491 | if(f != null) | 491 | if (f != null) |
492 | item.Folder=f.ID; | 492 | item.Folder=f.ID; |
493 | else | 493 | else |
494 | item.Folder=RootFolder.ID; | 494 | item.Folder=RootFolder.ID; |
@@ -617,14 +617,14 @@ namespace OpenSim.Framework.Communications.Cache | |||
617 | 617 | ||
618 | private InventoryFolderImpl FindFolderForType(int type) | 618 | private InventoryFolderImpl FindFolderForType(int type) |
619 | { | 619 | { |
620 | if(RootFolder == null) | 620 | if (RootFolder == null) |
621 | return null; | 621 | return null; |
622 | 622 | ||
623 | lock(RootFolder.SubFolders) | 623 | lock (RootFolder.SubFolders) |
624 | { | 624 | { |
625 | foreach (InventoryFolderImpl f in RootFolder.SubFolders.Values) | 625 | foreach (InventoryFolderImpl f in RootFolder.SubFolders.Values) |
626 | { | 626 | { |
627 | if(f.Type == type) | 627 | if (f.Type == type) |
628 | return f; | 628 | return f; |
629 | } | 629 | } |
630 | } | 630 | } |