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 61647 - Implement "Minimize Access Rights" Refactoring
Summary: Implement "Minimize Access Rights" Refactoring
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 11:39 UTC by _ moser
Modified: 2016-07-07 07:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ moser 2005-08-02 11:39:04 UTC
In short "Minimize Access Rigths" refactoring tries to use the most restricted
access modifier for fields and methods, most preferrably private, then package,
then protected, if possible. The changes are presented in a table with member
name, old access modifier, and new access modifier.

This refactoring is very useful to rework legacy code, or code which was badly
designed being much too flexible to discover the actual responsibilities and
collabarations.

I was using this refactoring a lot when I was using RefactoIt in the days before
NetBeans implemented refactoring and I'm missing it badly.
Comment 1 Martin Balin 2016-07-07 07:27:05 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss