Company attorneys said that it settled because of the unpredictable nature of litigation and that New Jersey 's attorney general did not find that eHarmony had violated the state 's anti-discrimination law .