Javier is a Spanish name. Brazilians speak Portuguese. Even if a Brazilian were named Javier, it would not be pronounced "Havier."
Mike Martinez's record indicates that he was charged with attempted rape in the first degree and assault in the first degree. The section indicating which part of the penal code he was convicted of says his top charge was 140.20. However Article 140, Section 20 of the New York Penal code pertains to burglary in the third degree. Martinez's record indicated he plead guilty to assault in the first degree, which falls under Article 120, Section 10.
When Bayard Ellis visits David Hayden in his office, he's wearing a wedding ring. Harry Connick Jr's character is supposed to be single.