--- old/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ParameterList.java 2017-06-16 17:01:14.736660379 +0100 +++ new/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ParameterList.java 2017-06-16 17:01:14.680660378 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -50,7 +50,7 @@ * No-arg Constructor. */ public ParameterList() { - this.list = new HashMap(); + this.list = new HashMap<>(); } private ParameterList(HashMap m) { @@ -73,7 +73,7 @@ int type; String name; - list = new HashMap(); + list = new HashMap<>(); while (true) { tk = h.next(); type = tk.getType(); @@ -171,6 +171,7 @@ * * @return String */ + @Override public String toString() { return toString(0); } @@ -232,6 +233,6 @@ } public ParameterList copy() { - return new ParameterList((HashMap)list.clone()); + return new ParameterList((HashMap)list.clone()); } }