I posted an answer around 3 months ago in response to a question that initially had an input data set as a test case. Around 2 days ago I got a notification showing that my answer had been edited and something like 500 characters were removed from the body. Following that my (rather long) answer was changed to display a message which said:
deleted some data that should not be posted on public discussion forum.
For the sake of honesty, I got a little bit salty and edited his question to say:
this question initially referred to data that should not have been shared on a public forum.
I have since rolled both edits back because I recognized what I did was wrong and was remorseful (his edit on my question, and my edit on his question).
Perhaps he doesn't want to delete the question for some reason, but I feel like that would've been a better solution than editing out my answer. How should I handle this in the future (obviously my initial solution to retaliate was not "best practices").