8040081: Tidy warnings cleanup for java.applet
Reviewed-by: pchelko
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
--- a/jdk/src/share/classes/java/applet/Applet.java Tue Jun 03 10:55:27 2014 +0200
+++ b/jdk/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/jdk/src/share/classes/java/applet/AppletContext.java Tue Jun 03 10:55:27 2014 +0200
+++ b/jdk/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