When a URL responds with a 302 redirect, Google typically indexes the content of the destination URL but retains the original URL in the index as the source reference. That is, if pageA responds with a 302 redirect to pageB, the URL for pageA will appear in the search results, but it will reflect the content of pageB. The principal involved is because 302 means «Moved Temporarily», the destination URL is not included in the index, only the original.