/[classpath]/classpath/javax/swing/text/View.java
ViewVC logotype

Diff of /classpath/javax/swing/text/View.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by rabbit78, Wed Oct 5 21:46:41 2005 UTC revision 1.21 by rabbit78, Thu Oct 6 20:16:32 2005 UTC
# Line 86  public abstract class View implements Sw Line 86  public abstract class View implements Sw
86    {    {
87      View parent = getParent();      View parent = getParent();
88      if (parent == null)      if (parent == null)
89        throw new AssertionError(getClass().getName()        return null;
90                                 + ": the parent of a View must not be null.");      else
91          return parent.getContainer();
     return parent.getContainer();  
92    }    }
93        
94    public Document getDocument()    public Document getDocument()

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26