diff options
author | Sean Dague | 2008-04-07 23:27:05 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-07 23:27:05 +0000 |
commit | 5ee75998ce4d941efd937848d28f3a4dac6ba6cc (patch) | |
tree | f29a100cb8ab3715c82f0aec4fee9f968f210405 /OpenSim/Grid/InventoryServer/GridInventoryService.cs | |
parent | Refactor InventoryItemBase to do the following: (diff) | |
download | opensim-SC-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.zip opensim-SC-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.gz opensim-SC-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.bz2 opensim-SC-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.xz |
more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
Diffstat (limited to 'OpenSim/Grid/InventoryServer/GridInventoryService.cs')
-rw-r--r-- | OpenSim/Grid/InventoryServer/GridInventoryService.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 92d82ab..46fbd3d 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Grid.InventoryServer | |||
51 | 51 | ||
52 | foreach (InventoryFolderBase folder in allFolders) | 52 | foreach (InventoryFolderBase folder in allFolders) |
53 | { | 53 | { |
54 | List<InventoryItemBase> items = RequestFolderItems(folder.folderID); | 54 | List<InventoryItemBase> items = RequestFolderItems(folder.ID); |
55 | if (items != null) | 55 | if (items != null) |
56 | { | 56 | { |
57 | allItems.InsertRange(0, items); | 57 | allItems.InsertRange(0, items); |
@@ -79,7 +79,7 @@ namespace OpenSim.Grid.InventoryServer | |||
79 | allFolders.InsertRange(0, folders); | 79 | allFolders.InsertRange(0, folders); |
80 | foreach (InventoryFolderBase subfolder in folders) | 80 | foreach (InventoryFolderBase subfolder in folders) |
81 | { | 81 | { |
82 | List<InventoryFolderBase> subFolders = GetAllFolders(subfolder.folderID); | 82 | List<InventoryFolderBase> subFolders = GetAllFolders(subfolder.ID); |
83 | if (subFolders != null) | 83 | if (subFolders != null) |
84 | { | 84 | { |
85 | allFolders.InsertRange(0, subFolders); | 85 | allFolders.InsertRange(0, subFolders); |
@@ -166,10 +166,10 @@ namespace OpenSim.Grid.InventoryServer | |||
166 | // Right now, this actions act more like an update/insert combination than a simple create. | 166 | // Right now, this actions act more like an update/insert combination than a simple create. |
167 | m_log.Info( | 167 | m_log.Info( |
168 | "[AGENT INVENTORY]: " + | 168 | "[AGENT INVENTORY]: " + |
169 | "Updating in " + folder.parentID.ToString() | 169 | "Updating in " + folder.ParentID.ToString() |
170 | + ", folder " + folder.name); | 170 | + ", folder " + folder.Name); |
171 | 171 | ||
172 | AddNewInventoryFolder(folder.agentID, folder); | 172 | AddNewInventoryFolder(folder.AgentID, folder); |
173 | return true; | 173 | return true; |
174 | } | 174 | } |
175 | 175 | ||
@@ -177,8 +177,8 @@ namespace OpenSim.Grid.InventoryServer | |||
177 | { | 177 | { |
178 | m_log.Info( | 178 | m_log.Info( |
179 | "[AGENT INVENTORY]: " + | 179 | "[AGENT INVENTORY]: " + |
180 | "Moving folder " + folder.folderID | 180 | "Moving folder " + folder.ID |
181 | + " to " + folder.parentID.ToString()); | 181 | + " to " + folder.ParentID.ToString()); |
182 | 182 | ||
183 | MoveExistingInventoryFolder(folder); | 183 | MoveExistingInventoryFolder(folder); |
184 | return true; | 184 | return true; |