The Smithtown heroin addict who testified that James Burke, the Suffolk police department's highest-ranking uniformed officer, beat him while in custody was sentenced Friday to 3 years in jail for stealing Burke's gun belt and ammunition from his police-issued vehicle.