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.
Summary: | Incorrect "Field Can Be Final" transform for comma separated field declarations | ||
---|---|---|---|
Product: | java | Reporter: | Crydust |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Crydust
2016-02-15 13:32:13 UTC
The reason is that rewrite tries to be as small as possible. In the case of fields in a field group (common declarator), the "smallest" must be extended to the common fields parent. Fixed hopefully modifier, annotation and type changes for field groups in jet-main#16112f3e2972 Integrated into 'main-silver', will be available in build *201603030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/16112f3e2972 User: Svata Dedic <sdedic@netbeans.org> Log: #257990: rewrite anywhere in declarator of a variable which is part of variable group will run rewrite on the variable's parent |