it's not really all that much to get excited about. I've seen less clothing and more provocative scenes on primetime TV. Most beachwear is more revealing than what she was wearing.
should it have been in the scene? I don't know, I haven't seen the movie yet (I have tickets for tomorrow), but if it is truly a scene just to show a "scantily clad actor" in order to increase ratings, then I'd say it should NOT be there. at least give some credibility to the REASON she's in her underwear.