Java Lesson 21 Integer Deprecated

After playing the Java Lesson 21 Practice Solution Walkthrough, when I pressed run, it printed:

Question.java:18: error: Integer(int) in java.lang.Integer has been deprecated and marked for removal
      output.put(parts[i], new Integer(1));
                           ^
1 error

Here’s a screenshot: