My way of dealing with an arrogant developer was simply realizing that it was ME! From my perspective I had always thought: "I'm senior, you're junior, you should appreciate my advice and not do XYZ in your old way any more. You're being arrogant by not accepting my criticism well". But in reality, I wasn't allowing the junior dev to grow at his own pace, to explore and understand and evolve his way of doing things.…
I hate to say this, but sometimes I have to prevent myself from being perceived as arrogant. My passion sometimes takes over, and my expressions may be perceived as other people as being extremely arrogant. I feel strongly about things because I am passionate for them but it comes off as arrogance to some.