This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 40972 - GlobalPathRegistry.*Listener and *Event should not be nested classes
Summary: GlobalPathRegistry.*Listener and *Event should not be nested classes
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 40703
  Show dependency tree
 
Reported: 2004-03-12 17:30 UTC by Jaroslav Tulach
Modified: 2006-03-24 10:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-03-12 17:30:06 UTC
in case of listeners and events I think, that
having them as nested classes may violate
javabeans spec. I have not seen such pattern many
times.
Comment 1 Jesse Glick 2004-03-12 17:49:28 UTC
Not aware of this violating any spec, but agree on the general
principle of avoiding public static nested classes. (Doesn't really
avoid clutter to use them anyway, since they appear as separate
entries in package-summary.html, unlike inner classes.)
Comment 2 Tomas Zezula 2004-03-22 12:41:24 UTC
Fixed.
Comment 3 Jaroslav Tulach 2004-03-23 08:38:29 UTC
It is there.