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 232165 - Ability to specify sortText for JavaFix
Summary: Ability to specify sortText for JavaFix
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 232111
  Show dependency tree
 
Reported: 2013-07-02 16:08 UTC by Jan Lahoda
Modified: 2013-07-16 03:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed API change+implementation. (8.22 KB, patch)
2013-07-02 16:08 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2013-07-02 16:08:47 UTC
Created attachment 136614 [details]
Proposed API change+implementation.

JavaFixes cannot currently be EnhancedFixes and so cannot provide a sort text. The proposed patch adds two new JavaFix constructors, that allow to specify the sort text (if non-null, the outcome of toEditorFix will be an EnhancedFix).
Comment 1 Quality Engineering 2013-07-16 02:36:45 UTC
Integrated into 'main-silver', will be available in build *201307152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6dfed5d7e440
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232165: Ability to specify sortText for JavaFix
Comment 2 Jan Lahoda 2013-07-16 03:01:04 UTC
Integrated.