From 465e77b61883c52cf0ab01079e6cc509cfc9fda1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 31 Jul 2008 17:35:47 +0000 Subject: [PATCH] * refactor: eliminate unused SubFoldersCount --- .../Communications/Cache/InventoryFolderImpl.cs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs index b1fdf764b8..ee3fc55f59 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs @@ -49,15 +49,7 @@ namespace OpenSim.Framework.Communications.Cache /// Child folders that are contained in this folder /// public Dictionary SubFolders = new Dictionary(); - - /// - /// The number of child folders - /// - public int SubFoldersCount - { - get { return SubFolders.Count; } - } - + // Constructors public InventoryFolderImpl(InventoryFolderBase folderbase) { @@ -244,7 +236,7 @@ namespace OpenSim.Framework.Communications.Cache } /// - /// Return the list of child items in this folder + /// Return a copy of the list of child items in this folder /// public List RequestListOfItems() { @@ -264,7 +256,7 @@ namespace OpenSim.Framework.Communications.Cache } /// - /// Return the list of immediate child folders in this folder. + /// Return a copy of the list of immediate child folders in this folder. /// public List RequestListOfFolders() {