Hoony
In this case the male end was in good condition so I didn't need to do anything to it.
If it were worn there's a couple of options, if only slightly worn you could put in in the four jaw and take a light cut to clean it up to make it round and parallel and make your sleeve to suit, or if badly worn and deformed you can weld it up and re-machine it, circlip groove and all. I've done this before and it worked well.
This is when you have to ask yourself is it worth the time and effort if new items are available for < $150.