microsoft / ApplicationInsights-Android

Microsoft Application Insights SDK for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function result is ignored

AppChecker opened this issue · comments

Hello!

Code in the method MockSender. prettyPrintJSON:

        result.replaceAll("\t", "  ");

ignores the return value of the String.replaceAll method.

Probably, is should be:

        result = result.replaceAll("\t", "  ");

This possible defect found by static code analyzer AppChecker