Здравствуйте. запустил код в intellij idea
public static HashMap<String, Date> createMap() throws ParseException {
        DateFormat df = new SimpleDateFormat("MMMMM d yyyy", Locale.ENGLISH);
        HashMap<String, Date> map = new HashMap<String, Date>();
        map.put("Сталонне", df.parse("JUNE 1 1980"));
        map.put("Гурылев", df.parse("DECEMBER 11 1994"));
        map.put("Мачнев", df.parse("SEPTEMBER 17 1991"));
        map.put("Никитин", df.parse("JUNE 8 1985"));
        map.put("Филлипов", df.parse("DECEMBER 25 1987"));
        map.put("Рязчиков", df.parse("JUNE 27 1999"));
        map.put("Мухамеджанов", df.parse("SEPTEMBER 12 1990"));
        map.put("Синицын", df.parse("AUGUST 2 1991"));
        map.put("Смолов", df.parse("SEPTEMBER 7 1989"));
        map.put("Самойлов", df.parse("JUNE 3 1981"));

        return map;
    }

    public static void removeAllSummerPeople(HashMap<String, Date> map) {
        Iterator<Map.Entry<String, Date>> dateIterator = map.entrySet().iterator();
        while (dateIterator.hasNext()) {
            Map.Entry<String, Date> pair = dateIterator.next();
            int month = pair.getValue().getMonth();
            if (month == 5 || month == 6 || month == 7)
                dateIterator.remove();
        }
    }

    public static void main(String[] args) throws ParseException {
        removeAllSummerPeople(createMap());
    }
компилируется и выполняется правильно, однако в строке
int month = pair.getValue().getMonth();
часть ".getMonth();" зачеркнута с припиской "this inspection reports where deprecated code is used in the specified inspection scope" Так и не смог разобраться, что это значит.