Improved javadocs for openInventory method