DegreeDistribution.java cleanup