Edgar Johnson, unlike Major Parker, has quite an extensive criminal history. The judge did what he thought was just taking into account all of the circumstances (with a lighter sentence).