Description
SonarQube has detected one possible NPE issue in CombinedClientProtocolServerSideTranslatorPB class. After further investigation, it could be deduced that this NPE error can't occur in the current code, because currently switch-case that is causing the problem handles all possible cases. However it is possible that future modifications changes the situation. Because of that it could be a good idea to throw error in the default branch.
See SonarCloud issues for more detailed information:
Attachments
Issue Links
- is a child of
-
RATIS-952 Avoid NPE
- Resolved