Author: [EMAIL PROTECTED]
Date: Thu Nov 13 12:42:58 2008
New Revision: 4064

Modified:
     
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DialogBox.java

Log:
Making DialogBox final and adding explanations for why it is final.

Modified:  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DialogBox.java
==============================================================================
---  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DialogBox.java 
 
(original)
+++  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DialogBox.java 
 
Thu Nov 13 12:42:58 2008
@@ -183,10 +183,14 @@

    /**
     * Provides access to the dialog's caption.
+   *
+   * This method is final because the Caption interface will expand.  
Therefore
+   * it is highly likely that subclasses which implemented this method  
would end up
+   * breaking.
     *
     * @return the logical caption for this dialog box
     */
-  public Caption getCaption() {
+  public final Caption getCaption() {
      return caption;
    }


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to