refactor: rename bool returning GetAgentInventoryItem() to CanGetAgentInventoryItem() to improve code readability

This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-08 22:28:17 +01:00
parent e8ad8593b6
commit 5700c582ba
3 changed files with 13 additions and 6 deletions

View File

@@ -978,7 +978,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
{
}
public virtual bool GetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID)
public virtual bool CanGetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID)
{
InventoryItemBase assetRequestItem = GetItem(remoteClient.AgentId, itemID);
if (assetRequestItem == null)