changeset 5713:d769dbb87c49

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 8a2bc6e82d81
children e3122759abe3
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 Aug 21 14:37:16 2012 +0400
+++ 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();