From 5ee75998ce4d941efd937848d28f3a4dac6ba6cc Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 7 Apr 2008 23:27:05 +0000 Subject: more refactoring, this time on InventoryFolderBase * wrap attributes in properties * clean up names a little bit * clean up name styles --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Grid/InventoryServer/GridInventoryService.cs') 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 foreach (InventoryFolderBase folder in allFolders) { - List items = RequestFolderItems(folder.folderID); + List items = RequestFolderItems(folder.ID); if (items != null) { allItems.InsertRange(0, items); @@ -79,7 +79,7 @@ namespace OpenSim.Grid.InventoryServer allFolders.InsertRange(0, folders); foreach (InventoryFolderBase subfolder in folders) { - List subFolders = GetAllFolders(subfolder.folderID); + List subFolders = GetAllFolders(subfolder.ID); if (subFolders != null) { allFolders.InsertRange(0, subFolders); @@ -166,10 +166,10 @@ namespace OpenSim.Grid.InventoryServer // Right now, this actions act more like an update/insert combination than a simple create. m_log.Info( "[AGENT INVENTORY]: " + - "Updating in " + folder.parentID.ToString() - + ", folder " + folder.name); + "Updating in " + folder.ParentID.ToString() + + ", folder " + folder.Name); - AddNewInventoryFolder(folder.agentID, folder); + AddNewInventoryFolder(folder.AgentID, folder); return true; } @@ -177,8 +177,8 @@ namespace OpenSim.Grid.InventoryServer { m_log.Info( "[AGENT INVENTORY]: " + - "Moving folder " + folder.folderID - + " to " + folder.parentID.ToString()); + "Moving folder " + folder.ID + + " to " + folder.ParentID.ToString()); MoveExistingInventoryFolder(folder); return true; -- cgit v1.1