'Alita: Battle Angel' Star No Threat to Ex ... Judge Tosses Restraining Order

4/19/2018 12:10 AM PDT

EXCLUSIVE

imageRosa Salazar -- who's starring in the upcoming James Cameron[1]/Robert Rodriguez[2] blockbuster "Alita: Battle Angel" -- has one less real-life battle to worry about ... TMZ has learned.

Court sources tell us ... Rosa squared off against her ex-boyfriend, Sam Setzer, and his lawyers Wednesday in front of a judge over claims he made last month that she harassed and threatened him after a breakup[3].

We're told the judge heard both sides and decided to dismiss the case and toss the restraining order Setzer had gotten against Rosa. The judge said there were no grounds for it.

Rosa's appeared in "American Horror Story" and the 'Maze Runner' films. She's playing the title character in 'Alita' -- with co-starsĀ Jennifer Connelly[4], Michelle Rodriguez[5] and Christoph Waltz[6] -- which comes out later this year.

References^ James Cameron (www.tmz.com)^ Robert Rodriguez (www.tmz.com)^ threatened him after a breakup (www.tmz.com)^ Jennifer Connelly (www.tmz.com)^ Michelle Rodriguez (www.tmz.com)^ Christoph Waltz (www.tmz.com)

Read more from our friends at TMZ