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 45548 - FoldType probably should not extend FoldTypeAcceptor
Summary: FoldType probably should not extend FoldTypeAcceptor
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: API
Depends on:
Blocks: 42255
  Show dependency tree
 
Reported: 2004-06-25 10:03 UTC by Tomas Pavek
Modified: 2007-11-05 13:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2004-06-25 10:03:03 UTC
FoldType extends the FoldTypeAcceptor which
accepts FoldType (i.e. its own subclass). This is
a bit misleading. Maybe FoldTypeAcceptor could be
replaced by a set of acceptable fold types.
Comment 1 Miloslav Metelka 2004-06-29 13:48:13 UTC
Removed FoldTypeAcceptor completely and use pairs of methods accepting
FoldType and Collection of FoldType-s.
Comment 2 Roman Strobl 2005-01-07 15:59:32 UTC
Verified in 200501061900.