From 93dcac6266b5e8aa82c4f4093784c7b01910a2a3 Mon Sep 17 00:00:00 2001 From: Roger Riggs Date: Tue, 22 Oct 2013 17:02:08 -0400 Subject: [PATCH] 8026982: javadoc errors in core libs Cleanup of javadoc -Xlint errors Reviewed-by: lancea, mduigou, darcy, mullan, mchung --- .../classes/java/io/ByteArrayInputStream.java | 1 - .../java/io/ByteArrayOutputStream.java | 2 - jdk/src/share/classes/java/io/DataInput.java | 58 +++++++-------- jdk/src/share/classes/java/io/DataOutput.java | 70 +++++++++---------- .../share/classes/java/io/FilePermission.java | 8 +-- .../share/classes/java/io/InputStream.java | 3 +- .../classes/java/io/ObjectInputStream.java | 2 +- .../classes/java/io/PipedInputStream.java | 7 +- .../share/classes/java/io/PipedReader.java | 7 +- .../classes/java/io/RandomAccessFile.java | 2 +- .../share/classes/java/io/Serializable.java | 8 +-- .../java/io/SerializablePermission.java | 1 - .../java/lang/AbstractStringBuilder.java | 30 ++++---- .../java/lang/ArrayStoreException.java | 2 +- jdk/src/share/classes/java/lang/Byte.java | 2 +- .../share/classes/java/lang/Character.java | 12 ++-- jdk/src/share/classes/java/lang/Class.java | 4 +- .../classes/java/lang/ClassCastException.java | 2 +- jdk/src/share/classes/java/lang/Double.java | 8 --- jdk/src/share/classes/java/lang/Float.java | 8 --- jdk/src/share/classes/java/lang/Integer.java | 2 +- jdk/src/share/classes/java/lang/Iterable.java | 1 - jdk/src/share/classes/java/lang/Long.java | 2 +- .../classes/java/lang/RuntimePermission.java | 1 - jdk/src/share/classes/java/lang/Short.java | 2 +- jdk/src/share/classes/java/lang/String.java | 10 +-- jdk/src/share/classes/java/lang/Thread.java | 8 +-- .../lang/management/ManagementFactory.java | 2 +- .../lang/management/ManagementPermission.java | 4 +- .../java/lang/management/MemoryUsage.java | 4 +- .../classes/java/lang/management/package.html | 4 +- .../java/lang/reflect/ReflectPermission.java | 1 - .../classes/java/net/DatagramSocket.java | 4 +- .../share/classes/java/net/Inet6Address.java | 6 +- .../classes/java/net/MulticastSocket.java | 2 +- .../share/classes/java/net/NetPermission.java | 1 - jdk/src/share/classes/java/net/Proxy.java | 4 +- jdk/src/share/classes/java/net/Socket.java | 6 +- .../share/classes/java/net/SocketOptions.java | 6 +- .../classes/java/net/SocketPermission.java | 18 ++--- jdk/src/share/classes/java/net/URI.java | 6 +- .../share/classes/java/net/URLConnection.java | 2 +- .../share/classes/java/net/URLDecoder.java | 2 +- .../share/classes/java/net/URLEncoder.java | 1 - .../share/classes/java/net/URLPermission.java | 6 +- .../share/classes/java/net/package-info.java | 6 +- .../classes/java/nio/X-Buffer.java.template | 2 +- .../classes/java/nio/file/FileSystem.java | 2 +- .../java/rmi/activation/ActivationGroup.java | 6 +- jdk/src/share/classes/java/rmi/dgc/VMID.java | 2 +- .../java/rmi/server/UnicastRemoteObject.java | 6 +- .../java/security/AccessController.java | 4 +- .../security/AlgorithmParameterGenerator.java | 2 +- .../java/security/BasicPermission.java | 5 +- .../classes/java/security/CodeSource.java | 4 +- jdk/src/share/classes/java/security/Key.java | 5 +- .../java/security/KeyPairGenerator.java | 1 - .../share/classes/java/security/KeyStore.java | 1 - .../classes/java/security/MessageDigest.java | 28 ++++---- .../classes/java/security/Permission.java | 4 +- .../java/security/PermissionCollection.java | 1 - .../java/security/SecurityPermission.java | 2 - .../classes/java/security/Signature.java | 6 +- .../classes/java/security/SignedObject.java | 4 +- .../share/classes/java/security/acl/Acl.java | 14 ++-- .../security/cert/CertificateFactory.java | 4 +- .../security/cert/PKIXRevocationChecker.java | 2 +- .../security/cert/PolicyQualifierInfo.java | 2 +- .../java/security/cert/TrustAnchor.java | 1 - .../java/security/cert/X509CertSelector.java | 4 +- .../interfaces/DSAKeyPairGenerator.java | 4 +- .../classes/java/text/MessageFormat.java | 6 +- .../share/classes/java/text/Normalizer.java | 8 +-- .../classes/java/text/SimpleDateFormat.java | 1 - jdk/src/share/classes/java/util/Base64.java | 1 - jdk/src/share/classes/java/util/BitSet.java | 4 +- jdk/src/share/classes/java/util/Deque.java | 3 - jdk/src/share/classes/java/util/Locale.java | 4 +- .../share/classes/java/util/Properties.java | 7 +- .../classes/java/util/PropertyPermission.java | 9 ++- jdk/src/share/classes/java/util/Queue.java | 1 - .../classes/java/util/ResourceBundle.java | 1 - jdk/src/share/classes/java/util/Scanner.java | 1 - jdk/src/share/classes/java/util/TimeZone.java | 2 +- jdk/src/share/classes/java/util/UUID.java | 4 +- .../java/util/concurrent/BlockingDeque.java | 2 - .../java/util/concurrent/BlockingQueue.java | 1 - .../classes/java/util/concurrent/Future.java | 4 +- .../locks/ReentrantReadWriteLock.java | 1 - .../share/classes/java/util/jar/Pack200.java | 2 +- .../classes/java/util/logging/Logger.java | 2 +- .../classes/java/util/regex/Pattern.java | 2 +- .../java/util/spi/LocaleServiceProvider.java | 2 +- 93 files changed, 236 insertions(+), 296 deletions(-) diff --git a/jdk/src/share/classes/java/io/ByteArrayInputStream.java b/jdk/src/share/classes/java/io/ByteArrayInputStream.java index e58c6e64a64..ce0b8d1f183 100644 --- a/jdk/src/share/classes/java/io/ByteArrayInputStream.java +++ b/jdk/src/share/classes/java/io/ByteArrayInputStream.java @@ -275,7 +275,6 @@ class ByteArrayInputStream extends InputStream { * Closing a ByteArrayInputStream has no effect. The methods in * this class can be called after the stream has been closed without * generating an IOException. - *

*/ public void close() throws IOException { } diff --git a/jdk/src/share/classes/java/io/ByteArrayOutputStream.java b/jdk/src/share/classes/java/io/ByteArrayOutputStream.java index d28d397b31c..cd3c139a27e 100644 --- a/jdk/src/share/classes/java/io/ByteArrayOutputStream.java +++ b/jdk/src/share/classes/java/io/ByteArrayOutputStream.java @@ -263,8 +263,6 @@ public class ByteArrayOutputStream extends OutputStream { * Closing a ByteArrayOutputStream has no effect. The methods in * this class can be called after the stream has been closed without * generating an IOException. - *

- * */ public void close() throws IOException { } diff --git a/jdk/src/share/classes/java/io/DataInput.java b/jdk/src/share/classes/java/io/DataInput.java index 58a3a2bfd3f..c61aeb58eda 100644 --- a/jdk/src/share/classes/java/io/DataInput.java +++ b/jdk/src/share/classes/java/io/DataInput.java @@ -155,7 +155,7 @@ interface DataInput { * to the length of {@code b}. *

* This method blocks until one of the - * following conditions occurs:

+ * following conditions occurs: *