/** @deprecated Use {@link #listMilestones(GHIssueState)} */
 public Map<Integer, GHMilestone> getMilestones() throws IOException {
   Map<Integer, GHMilestone> milestones = new TreeMap<Integer, GHMilestone>();
   for (GHMilestone m : listMilestones(GHIssueState.OPEN)) {
     milestones.put(m.getNumber(), m);
   }
   return milestones;
 }
 public GHMilestone getMilestone(int number) throws IOException {
   GHMilestone m = milestones.get(number);
   if (m == null) {
     m = root.retrieve().to(getApiTailUrl("milestones/" + number), GHMilestone.class);
     m.owner = this;
     m.root = root;
     milestones.put(m.getNumber(), m);
   }
   return m;
 }