提交 a1227484 编写于 作者: D darcy

8021408: Fix misc doclint issues in java.util and java.io

Reviewed-by: dholmes, chegar, psandoz
上级 c1838654
/* /*
* Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -313,6 +313,7 @@ public class ObjectInputStream ...@@ -313,6 +313,7 @@ public class ObjectInputStream
* @throws SecurityException if a security manager exists and its * @throws SecurityException if a security manager exists and its
* <code>checkPermission</code> method denies enabling * <code>checkPermission</code> method denies enabling
* subclassing. * subclassing.
* @throws IOException if an I/O error occurs while creating this stream
* @see SecurityManager#checkPermission * @see SecurityManager#checkPermission
* @see java.io.SerializablePermission * @see java.io.SerializablePermission
*/ */
......
/* /*
* Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -265,6 +265,7 @@ public class ObjectOutputStream ...@@ -265,6 +265,7 @@ public class ObjectOutputStream
* @throws SecurityException if a security manager exists and its * @throws SecurityException if a security manager exists and its
* <code>checkPermission</code> method denies enabling * <code>checkPermission</code> method denies enabling
* subclassing. * subclassing.
* @throws IOException if an I/O error occurs while creating this stream
* @see SecurityManager#checkPermission * @see SecurityManager#checkPermission
* @see java.io.SerializablePermission * @see java.io.SerializablePermission
*/ */
......
/* /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -527,7 +527,7 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -527,7 +527,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* <code>Name</code> object for <code>Manifest-Version</code> * <code>Name</code> object for <code>Manifest-Version</code>
* manifest attribute. This attribute indicates the version number * manifest attribute. This attribute indicates the version number
* of the manifest standard to which a JAR file's manifest conforms. * of the manifest standard to which a JAR file's manifest conforms.
* @see <a href="../../../../technotes/guides/jar/jar.html#JAR Manifest"> * @see <a href="../../../../technotes/guides/jar/jar.html#JAR_Manifest">
* Manifest and Signature Specification</a> * Manifest and Signature Specification</a>
*/ */
public static final Name MANIFEST_VERSION = new Name("Manifest-Version"); public static final Name MANIFEST_VERSION = new Name("Manifest-Version");
...@@ -535,7 +535,7 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -535,7 +535,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* <code>Name</code> object for <code>Signature-Version</code> * <code>Name</code> object for <code>Signature-Version</code>
* manifest attribute used when signing JAR files. * manifest attribute used when signing JAR files.
* @see <a href="../../../../technotes/guides/jar/jar.html#JAR Manifest"> * @see <a href="../../../../technotes/guides/jar/jar.html#JAR_Manifest">
* Manifest and Signature Specification</a> * Manifest and Signature Specification</a>
*/ */
public static final Name SIGNATURE_VERSION = new Name("Signature-Version"); public static final Name SIGNATURE_VERSION = new Name("Signature-Version");
......
/* /*
* Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -81,6 +81,7 @@ class JarEntry extends ZipEntry { ...@@ -81,6 +81,7 @@ class JarEntry extends ZipEntry {
* *
* @return the <code>Manifest</code> <code>Attributes</code> for this * @return the <code>Manifest</code> <code>Attributes</code> for this
* entry, or <code>null</code> if none * entry, or <code>null</code> if none
* @throws IOException if an I/O error has occurred
*/ */
public Attributes getAttributes() throws IOException { public Attributes getAttributes() throws IOException {
return attr; return attr;
......
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -168,6 +168,7 @@ class JarFile extends ZipFile { ...@@ -168,6 +168,7 @@ class JarFile extends ZipFile {
* *
* @throws IllegalStateException * @throws IllegalStateException
* may be thrown if the jar file has been closed * may be thrown if the jar file has been closed
* @throws IOException if an I/O error has occurred
*/ */
public Manifest getManifest() throws IOException { public Manifest getManifest() throws IOException {
return getManifestFromReference(); return getManifestFromReference();
......
/* /*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -96,6 +96,7 @@ public final class StreamSupport { ...@@ -96,6 +96,7 @@ public final class StreamSupport {
* <a href="package-summary.html#Non-Interference">Non-Interference</a> for * <a href="package-summary.html#Non-Interference">Non-Interference</a> for
* more details. * more details.
* *
* @param <T> the type of stream elements
* @param supplier a {@code Supplier} of a {@code Spliterator} * @param supplier a {@code Supplier} of a {@code Spliterator}
* @param characteristics Spliterator characteristics of the supplied * @param characteristics Spliterator characteristics of the supplied
* {@code Spliterator}. The characteristics must be equal to * {@code Spliterator}. The characteristics must be equal to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册