changeset 5295:23fb5a871f56

7193169: The code example in javadoc of Component.java misses 'implements' keyword Reviewed-by: anthony
author zhouyx
date Fri, 24 Aug 2012 11:35:51 +0800
parents 09b0d78dfde9
children 301c57d355e4
files src/share/classes/java/awt/Component.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/awt/Component.java	Tue Apr 10 10:17:36 2012 +0800
+++ b/src/share/classes/java/awt/Component.java	Fri Aug 24 11:35:51 2012 +0800
@@ -150,7 +150,7 @@
  *    import java.awt.event.*;
  *    import java.io.Serializable;
  *
- *    class MyApp java.io.Serializable
+ *    class MyApp implements java.io.Serializable
  *    {
  *         BigObjectThatShouldNotBeSerializedWithAButton bigOne;
  *         Button aButton = new Button();