Parent Directory | Revision Log | 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() |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |