Sum Double

Given two int values, return their sum. Unless the two values are the same, then return double their sum.

This exercise was converted to PLM from the excellent exercising site http://javabat.com/