aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-31 17:35:47 +0000
committerJustin Clarke Casey2008-07-31 17:35:47 +0000
commit465e77b61883c52cf0ab01079e6cc509cfc9fda1 (patch)
treee2fcfb204bc53c9e0588b1e2f09bcac0bb1edc8b /OpenSim
parent* allow inventory folders to be located by path (diff)
downloadopensim-SC-465e77b61883c52cf0ab01079e6cc509cfc9fda1.zip
opensim-SC-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.gz
opensim-SC-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.bz2
opensim-SC-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.xz
* refactor: eliminate unused SubFoldersCount
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs14
1 files changed, 3 insertions, 11 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
index b1fdf76..ee3fc55 100644
--- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
@@ -49,15 +49,7 @@ namespace OpenSim.Framework.Communications.Cache
49 /// Child folders that are contained in this folder 49 /// Child folders that are contained in this folder
50 /// </summary> 50 /// </summary>
51 public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>(); 51 public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>();
52 52
53 /// <summary>
54 /// The number of child folders
55 /// </summary>
56 public int SubFoldersCount
57 {
58 get { return SubFolders.Count; }
59 }
60
61 // Constructors 53 // Constructors
62 public InventoryFolderImpl(InventoryFolderBase folderbase) 54 public InventoryFolderImpl(InventoryFolderBase folderbase)
63 { 55 {
@@ -244,7 +236,7 @@ namespace OpenSim.Framework.Communications.Cache
244 } 236 }
245 237
246 /// <summary> 238 /// <summary>
247 /// Return the list of child items in this folder 239 /// Return a copy of the list of child items in this folder
248 /// </summary> 240 /// </summary>
249 public List<InventoryItemBase> RequestListOfItems() 241 public List<InventoryItemBase> RequestListOfItems()
250 { 242 {
@@ -264,7 +256,7 @@ namespace OpenSim.Framework.Communications.Cache
264 } 256 }
265 257
266 /// <summary> 258 /// <summary>
267 /// Return the list of immediate child folders in this folder. 259 /// Return a copy of the list of immediate child folders in this folder.
268 /// </summary> 260 /// </summary>
269 public List<InventoryFolderBase> RequestListOfFolders() 261 public List<InventoryFolderBase> RequestListOfFolders()
270 { 262 {