diff options
author | Justin Clarke Casey | 2008-07-31 17:35:47 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-31 17:35:47 +0000 |
commit | 465e77b61883c52cf0ab01079e6cc509cfc9fda1 (patch) | |
tree | e2fcfb204bc53c9e0588b1e2f09bcac0bb1edc8b /OpenSim/Framework/Communications/Cache | |
parent | * allow inventory folders to be located by path (diff) | |
download | opensim-SC_OLD-465e77b61883c52cf0ab01079e6cc509cfc9fda1.zip opensim-SC_OLD-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.gz opensim-SC_OLD-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.bz2 opensim-SC_OLD-465e77b61883c52cf0ab01079e6cc509cfc9fda1.tar.xz |
* refactor: eliminate unused SubFoldersCount
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | 14 |
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 | { |