Contractor wins $2.5 million in nail gun case