You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a trait with a protected method and a final class using this trait.
Expected Result
No error, methods defined in a trait should be ignored by this rule.
Actual Result
PrivateInFinalClassRule will report this method as that it should be private, however this is only true in the context of that class and may not be true for other usages of the trait.
The text was updated successfully, but these errors were encountered:
localheinz
changed the title
PrivateInFinalClassRule should not report trait methodsPrivateInFinalClassRule should not report trait methods
Aug 15, 2023
Steps required to reproduce the problem
Define a trait with a protected method and a final class using this trait.
Expected Result
No error, methods defined in a trait should be ignored by this rule.
Actual Result
PrivateInFinalClassRule will report this method as that it should be private, however this is only true in the context of that class and may not be true for other usages of the trait.
The text was updated successfully, but these errors were encountered: