aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-30 20:04:06 +0000
committerJustin Clarke Casey2008-04-30 20:04:06 +0000
commit3508298ddf5df94574c37c04fd59c3df579e42a2 (patch)
treed349fb812c895be2648aa55beac54bab7117eb24 /OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
parent* Resolve mantis 1068, 1095 (diff)
downloadopensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.zip
opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.gz
opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.bz2
opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.xz
* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
index f55f323..4dcf755 100644
--- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
@@ -168,10 +168,10 @@ namespace OpenSim.Framework.Communications.Cache
168 } 168 }
169 169
170 /// <summary> 170 /// <summary>
171 /// Does this folder contain the given subfolder? 171 /// Returns the folder requested if it exists as a descendent of this folder
172 /// </summary> 172 /// </summary>
173 /// <returns></returns> 173 /// <returns>The requested folder if it exists, null if it does not.</returns>
174 public InventoryFolderImpl HasSubFolder(LLUUID folderID) 174 public InventoryFolderImpl GetDescendentFolder(LLUUID folderID)
175 { 175 {
176 InventoryFolderImpl returnFolder = null; 176 InventoryFolderImpl returnFolder = null;
177 177
@@ -185,7 +185,7 @@ namespace OpenSim.Framework.Communications.Cache
185 { 185 {
186 foreach (InventoryFolderImpl folder in SubFolders.Values) 186 foreach (InventoryFolderImpl folder in SubFolders.Values)
187 { 187 {
188 returnFolder = folder.HasSubFolder(folderID); 188 returnFolder = folder.GetDescendentFolder(folderID);
189 if (returnFolder != null) 189 if (returnFolder != null)
190 { 190 {
191 break; 191 break;