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 22178 - Mixed API & SPI in Pattern class
Summary: Mixed API & SPI in Pattern class
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-07 21:10 UTC by Jaroslav Tulach
Modified: 2002-07-19 15: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 2002-04-07 21:10:42 UTC
The Pattern.MatchType seems to be very SPI-like,
not useful for user of the API. That is why it
shall be replaced by something more userfriendly.
Either Patterns.match (...) or by TokenId.match
(...) as suggested in my email on nbdev:

http://www.netbeans.org/servlets/ReadMsg?msgId=297347&listName=nbdev
Comment 1 Miloslav Metelka 2002-06-14 12:46:55 UTC
Pattern class was replaced by TokenTextMatcher interface and the
Pattern class was removed.
Comment 2 Jaroslav Tulach 2002-06-19 13:21:05 UTC
When the lexer module will appear on autoupdate alpha?
Comment 3 Miloslav Metelka 2002-06-19 15:50:40 UTC
The only thing currently missing are the automated tests. I'm working
on that.