The result of function is not used

https://sourceforge.net/p/scadabr/code/HEAD/tree/trunk/scadabr/scadabr-views-core/src/main/java/com/serotonin/mango/view/export/CsvWriter.java#l68

       if (fieldValue.indexOf('"') != -1) {
            needsQuotes = true;
            fieldValue.replaceAll("\"", "\"\"");
        }
This bug was found by Echelon team with AppChecker static analyzer