changeset 6170:621c379d909d

8001751: Javadoc warnings in JSSE code Reviewed-by: alanb
author xuelei
date Sat, 24 Nov 2012 03:34:27 -0800
parents ee6e5b7d5d55
children f7d45462b225
files src/share/classes/javax/net/ssl/HostnameVerifier.java src/share/classes/javax/net/ssl/SNIHostName.java src/share/classes/javax/net/ssl/SNIMatcher.java src/share/classes/javax/net/ssl/SNIServerName.java src/share/classes/javax/net/ssl/SSLParameters.java src/share/classes/javax/net/ssl/SSLSocketFactory.java
diffstat 6 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/net/ssl/HostnameVerifier.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/HostnameVerifier.java	Sat Nov 24 03:34:27 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2012, 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
@@ -40,7 +40,6 @@
  * verification fail.
  *
  * @author Brad R. Wetmore
- * @see HostnameVerifierFactory
  * @since 1.4
  */
 
--- a/src/share/classes/javax/net/ssl/SNIHostName.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/SNIHostName.java	Sat Nov 24 03:34:27 2012 -0800
@@ -135,7 +135,8 @@
      * <A HREF="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</A>,
      * <A HREF="http://www.ietf.org/rfc/rfc1122.txt">RFC 1122</A>,
      * <A HREF="http://www.ietf.org/rfc/rfc1123.txt">RFC 1123</A>)
-     * for {@code encoded} argument, or use {@link SNIHostName(String)} instead.
+     * for {@code encoded} argument, or use
+     * {@link SNIHostName#SNIHostName(String)} instead.
      * <P>
      * The {@code encoded} argument is illegal if it:
      * <ul>
--- a/src/share/classes/javax/net/ssl/SNIMatcher.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/SNIMatcher.java	Sat Nov 24 03:34:27 2012 -0800
@@ -44,7 +44,7 @@
  * @see SNIServerName
  * @see SNIHostName
  * @see SSLParameters#getSNIMatchers()
- * @see SSLParameters#setSNIMatchers(Collection<SNIMatcher>)
+ * @see SSLParameters#setSNIMatchers(Collection)
  *
  * @since 1.8
  */
--- a/src/share/classes/javax/net/ssl/SNIServerName.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/SNIServerName.java	Sat Nov 24 03:34:27 2012 -0800
@@ -40,7 +40,7 @@
  * methods that can change the state of an instance once it has been created.
  *
  * @see SSLParameters#getServerNames()
- * @see SSLParameters#setServerNames(List<SNIServerName>)
+ * @see SSLParameters#setServerNames(List)
  *
  * @since 1.8
  */
--- a/src/share/classes/javax/net/ssl/SSLParameters.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/SSLParameters.java	Sat Nov 24 03:34:27 2012 -0800
@@ -343,7 +343,7 @@
      * @return null or an immutable list of non-null {@link SNIServerName}s
      *
      * @see List
-     * @see #setServerNames(List<SNIServerName>)
+     * @see #setServerNames(List)
      *
      * @since 1.8
      */
@@ -418,7 +418,7 @@
      * @return null or an immutable collection of non-null {@link SNIMatcher}s
      *
      * @see SNIMatcher
-     * @see #setSNIMatchers(Collection<SNIMatcher>)
+     * @see #setSNIMatchers(Collection)
      *
      * @since 1.8
      */
--- a/src/share/classes/javax/net/ssl/SSLSocketFactory.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/src/share/classes/javax/net/ssl/SSLSocketFactory.java	Sat Nov 24 03:34:27 2012 -0800
@@ -198,8 +198,8 @@
      * (RFC6066)</A>).  Data that has been already removed from the
      * underlying {@link InputStream} should be loaded into the
      * {@code consumed} stream before this method is called, perhaps
-     * using a {@link ByteArrayInputStream}.  When this {@link Socket}
-     * begins handshaking, it will read all of the data in
+     * using a {@link java.io.ByteArrayInputStream}.  When this
+     * {@link Socket} begins handshaking, it will read all of the data in
      * {@code consumed} until it reaches {@code EOF}, then all further
      * data is read from the underlying {@link InputStream} as
      * usual.