aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bzl/jmh.bzl
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2020-02-19 13:23:14 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2020-02-19 13:24:01 +0900
commit6a72f2943d31d0e5a3ed402b5b769dde17f691f5 (patch)
tree882788047acee782705752ab0124b74fa3b930a1 /tools/bzl/jmh.bzl
parent064834d350d38f672a69947cf924f56d52bd1274 (diff)
downloadjgit-6a72f2943d31d0e5a3ed402b5b769dde17f691f5.tar.gz
jgit-6a72f2943d31d0e5a3ed402b5b769dde17f691f5.zip
Use indexOf(char) and lastIndexOf(char) rather than String versions
An indexOf or lastIndexOf call with a single letter String can be made more performant by switching to a call with a char argument. Found with SonarLint. As a side-effect of this change, we no longer need to suppress the NON-NLS warnings. Change-Id: Id44cb996bb74ed30edd560aa91fd8525aafdc8dd Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools/bzl/jmh.bzl')
0 files changed, 0 insertions, 0 deletions