Initializing ETriState member variables by default to undefined makes the objects behave consistently.
Before new PModeLegSecurity().isPModeAuthorizeDefined() == false while new PModeLegErrorHandling().isReportAsResponseDefined() would throw a NullPointerException.
With this change, every ETriState should be properly initialized (I used grep -r -F 'ETriState m_' src to find all occurrences).
Initializing
ETriState
member variables by default to undefined makes the objects behave consistently.Before
new PModeLegSecurity().isPModeAuthorizeDefined() == false
whilenew PModeLegErrorHandling().isReportAsResponseDefined()
would throw aNullPointerException
.With this change, every
ETriState
should be properly initialized (I usedgrep -r -F 'ETriState m_' src
to find all occurrences).