changeset 10046:adaf3b7e6150

8040081: Tidy warnings cleanup for java.applet Reviewed-by: pchelko Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
author yan
date Tue, 03 Jun 2014 17:55:58 +0400
parents 77703793fd36
children b84c163b9598
files src/share/classes/java/applet/Applet.java src/share/classes/java/applet/AppletContext.java
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/applet/Applet.java	Tue Jun 03 10:55:27 2014 +0200
+++ b/src/share/classes/java/applet/Applet.java	Tue Jun 03 17:55:58 2014 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2014, 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
@@ -86,6 +86,7 @@
 
     /**
      * Read an applet from an object input stream.
+     * @param  s  an object input stream.
      * @exception HeadlessException if
      * <code>GraphicsEnvironment.isHeadless()</code> returns
      * <code>true</code>
--- a/src/share/classes/java/applet/AppletContext.java	Tue Jun 03 10:55:27 2014 +0200
+++ b/src/share/classes/java/applet/AppletContext.java	Tue Jun 03 17:55:58 2014 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2014, 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
@@ -152,7 +152,7 @@
      * For security reasons, mapping of streams and keys exists for each
      * codebase. In other words, applet from one codebase cannot access
      * the streams created by an applet from a different codebase
-     * <p>
+     *
      * @param key key with which the specified value is to be associated.
      * @param stream stream to be associated with the specified key. If this
      *               parameter is <code>null</code>, the specified key is removed
@@ -172,7 +172,7 @@
      * For security reasons, mapping of streams and keys exists for each
      * codebase. In other words, applet from one codebase cannot access
      * the streams created by an applet from a different codebase
-     * <p>
+     *
      * @return the stream to which this applet context maps the key
      * @param key key whose associated stream is to be returned.
      * @since 1.4
@@ -185,7 +185,7 @@
      * For security reasons, mapping of streams and keys exists for each
      * codebase. In other words, applet from one codebase cannot access
      * the streams created by an applet from a different codebase
-     * <p>
+     *
      * @return  an Iterator of all the names of the streams in this applet
      *          context.
      * @since 1.4