History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-26872
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Anna Kozlova
Reporter: Serge Baranov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

"final" preference for interfaces

Created: 02 May 08 10:13   Updated: 26 May 08 18:31
Component/s: Refactoring
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,757
Severity: Medium


 Description  « Hide
Support feedback:

In the Code Generation tab of the Global Code Style dialog, there are two options for the "final" modifier:

1) Make generated local variables final
2) Make generated parameters final

How about a third option for interface method parameters? It never makes sense to have an interface method parameter be declared final. I'd like to be able to specify different settings for interface methods vs. class methods.



 All   Comments   Work Log   Change History      Sort Order:
Maxim Shafirov - 26 May 08 18:31
I'd even say we don't need any option. Interface method parameters should not have final modifiers regardless what option says.