# HG changeset patch # User yan # Date 1401803758 -14400 # Node ID 62c52173dc2dfa04af23db0ed8cc72ad0c5bf15b # Parent a646a5fa8e2761f2262caec6b2c2a66ce6cf26a1 8040081: Tidy warnings cleanup for java.applet Reviewed-by: pchelko Contributed-by: Alexander Stepanov diff -r a646a5fa8e27 -r 62c52173dc2d jdk/src/share/classes/java/applet/Applet.java --- 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 * GraphicsEnvironment.isHeadless() returns * true diff -r a646a5fa8e27 -r 62c52173dc2d jdk/src/share/classes/java/applet/AppletContext.java --- 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 - *

+ * * @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 null, 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 - *

+ * * @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 - *

+ * * @return an Iterator of all the names of the streams in this applet * context. * @since 1.4