A judge on Wednesday ruled that the Durham Police Department doesn't have to release the names of officers put on administrative leave last week as part of a department investigation.