Was this an appropriate response

So I was talking to this guy for a few months then out of nowhere he told me he was talking to his ex again and she wanted to get back together. So things between us ended. Were in college and unfortunately we have a class together that’s pretty small so I always see him. He texted me this today.. first asking about his hoodie then saying we shouldn’t ignore each other, I’m not upset about it just pissed off that he wasted my time. In class I told him I’d give his hoodie back next time but we’ll see lol I then responded to his second text. I don’t really wanna be friends with him I guess just acquaintances since we do have a class together. It just makes me mad that he thinks everything is gonna be cool with us even tho it’s not..