Republicans shooting themselves in the foot over Sotomayer nomination

Today mainstream news announced that John McCain, the last republican nominee for president, was not going to vote for Obama's supreme court nominee Sotomayer. This isn't going to cause Sotomayer to lose - she's in. 

But one has to wonder what McCain and the other republicans are thinking in shunning the first Hispanic nominee to the high court? Do they really think, as is reported by some media outlets, that the NRA's threat of opposing them in the next election outweighs the backlash that is to come from the hispanic population? I can't believe that someone from a state with such a significant Hispanic population would make that kind of judgment. I think that we are seeing the last of McCain in the U.S. senate.