The company logo for Hershey Co. is displayed on a screen on the floor of the New York Stock Exchange (NYSE) in New York, U.S., March 4, 2019. REUTERS/Brendan McDermid

Hershey dismissed a class action over Reese's Halloween pumpkins lacking carved designs, a United States judge ruled during late afternoon Wednesday.