commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ./ChangeLog javax/swing/text/View.java


From: Roman Kennke
Subject: [commit-cp] classpath ./ChangeLog javax/swing/text/View.java
Date: Thu, 25 Aug 2005 16:22:20 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   05/08/25 20:22:16

Modified files:
        .              : ChangeLog 
        javax/swing/text: View.java 

Log message:
        2005-08-25  Roman Kennke  <address@hidden>
        
        * javax/swing/text/View.java
        (View): Don't manage child views here.
        (getContainer): Throw AssertionError if we have no parent. This
        should not happen.
        (append): Call replace to do the real action. Child views
        are not managed in the View class itself.
        (removeAll): Give replace an empty array instead of null.
        Avoids NPEs in subclasses that don't handle the null case.
        (preferenceChanged): Don't revalidate here. This is too
        expensive and not necessary.
        (updateChildren): Let replace do the actual action. We don't
        manage child views in the View class.
        (forwardUpdate): Don't access children directly.
        (dump): Added package private methods useful for debugging.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4563&tr2=1.4564&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/View.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]