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
In case that nested types exist, each field of the outer type is parsed in order to check if this belongs to a nested class. When this is satisfied and the nested class is not public then the field is not accounted for the Deficient Encapsulation.
This is caused due to counting the public fields of an inner class while the inner class is private.
When inner class is private her fields should not affect the Encapsulation Efficiency status of the outer class.
The text was updated successfully, but these errors were encountered: