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 197840 - API Review: Change of friend API parsing.lucene
Summary: API Review: Change of friend API parsing.lucene
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.0.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2011-04-18 14:44 UTC by Tomas Zezula
Modified: 2011-04-20 05:02 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (17.29 KB, patch)
2011-04-18 14:48 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-04-18 14:44:53 UTC
The Index.isValid and Index.exists methods were removed and replaced by a new method Index.getStatus. The old methods were harder to. Misuse of these methods caused performance problems. The change is incompatible because it's a friend API with only two clients (parsing.api and java.source).
Comment 1 Tomas Zezula 2011-04-18 14:48:53 UTC
Created attachment 107815 [details]
Diff file
Comment 2 Jan Lahoda 2011-04-18 15:20:13 UTC
Seems fine to me. In apichanges.xml, there is: "The old methods were harder to." should probably be something like: "The old methods were harder to use."
Comment 3 Tomas Zezula 2011-04-19 08:03:01 UTC
Fixed jet-main f5033ec57caa
Comment 4 Quality Engineering 2011-04-20 05:02:12 UTC
Integrated into 'main-golden', will be available in build *201104200000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f5033ec57caa
User: Tomas Zezula <tzezula@netbeans.org>
Log: #197840:API Review: Change of friend API parsing.lucene