InspectorGeneral: "duplicate call to setter" and null-safety


The suggested fix is to extract something.getFoo().
To get rid of the duplication, it only makes sense to 'replace all'.

However, that will cause null warnings on the extracted statement.

I'm not sure if there is a good solution.

Please sign in to leave a comment.