< prev index next >

src/java.base/share/classes/java/util/jar/Attributes.java

Print this page
rev 48930 : 8198539: Cleanup of unused imports in java/util/jar/Attributes.java (java.base) and JdpController.java (jdk.management.agent)

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2018, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 23,44 **** * questions. */ package java.util.jar; - import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; ! import java.util.Collection; ! import java.util.AbstractSet; ! import java.util.Iterator; ! import java.util.Locale; import sun.util.logging.PlatformLogger; - import java.util.Comparator; /** * The Attributes class maps Manifest attribute names to associated string * values. Valid attribute names are case-insensitive, are restricted to * the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed 70 --- 23,42 ---- * questions. */ package java.util.jar; import java.io.DataOutputStream; import java.io.IOException; + import java.util.Collection; + import java.util.Comparator; import java.util.LinkedHashMap; + import java.util.Locale; import java.util.Map; import java.util.Set; ! import sun.util.logging.PlatformLogger; /** * The Attributes class maps Manifest attribute names to associated string * values. Valid attribute names are case-insensitive, are restricted to * the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed 70
< prev index next >