* refactor: eliminate unused SubFoldersCount

0.6.0-stable
Justin Clarke Casey 2008-07-31 17:35:47 +00:00
parent a62b906a7b
commit 465e77b618
1 changed files with 3 additions and 11 deletions

View File

@ -49,15 +49,7 @@ namespace OpenSim.Framework.Communications.Cache
/// Child folders that are contained in this folder /// Child folders that are contained in this folder
/// </summary> /// </summary>
public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>(); public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>();
/// <summary>
/// The number of child folders
/// </summary>
public int SubFoldersCount
{
get { return SubFolders.Count; }
}
// Constructors // Constructors
public InventoryFolderImpl(InventoryFolderBase folderbase) public InventoryFolderImpl(InventoryFolderBase folderbase)
{ {
@ -244,7 +236,7 @@ namespace OpenSim.Framework.Communications.Cache
} }
/// <summary> /// <summary>
/// Return the list of child items in this folder /// Return a copy of the list of child items in this folder
/// </summary> /// </summary>
public List<InventoryItemBase> RequestListOfItems() public List<InventoryItemBase> RequestListOfItems()
{ {
@ -264,7 +256,7 @@ namespace OpenSim.Framework.Communications.Cache
} }
/// <summary> /// <summary>
/// Return the list of immediate child folders in this folder. /// Return a copy of the list of immediate child folders in this folder.
/// </summary> /// </summary>
public List<InventoryFolderBase> RequestListOfFolders() public List<InventoryFolderBase> RequestListOfFolders()
{ {