Inspectopedia
 
2024.3

Unnecessary modifier

Warning
New
Last modified: 03 December 2024

Reports redundant modifiers and suggests to remove them. The resulting code will be shorter, but the behaviour and meaning will remain the same.

Example 1:

Example 2:

Example 3: