The Hampden district attorney has dismissed cocaine trafficking charges against three Springfield men rather than comply with a judge's order to identify a confidential informant in the case.