[Rev 09] RFR: 6677: Search to highlight cells in the flame view
Miroslav Wengner
mwengner at openjdk.java.net
Mon Feb 10 21:24:23 UTC 2020
On Mon, 10 Feb 2020 21:02:37 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:
>> The pull request has been updated with 1 additional commit.
>
> application/org.openjdk.jmc.flightrecorder.flameview/src/main/js/flameviewColoring.js line 136:
>
>> 135: const removeSpecialCharacters = function(text) {
>> 136: const map = Array.prototype.map;
>> 137: const resultText = map.call(text.trim().toLowerCase(), element => {
>
> if the map isn't used again, why not have the next line be:
> `const resultText = Array.prototype.map.call[..]` ?
good point, i've it overlooked
-------------
PR: https://git.openjdk.java.net/jmc/pull/45
More information about the jmc-dev
mailing list