summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target
diff options
context:
space:
mode:
authorEryk Szymanski <eryksz@gmail.com>2022-11-08 18:22:50 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2022-11-10 20:08:25 +0100
commitbd2aced4a33690641d8a35f48b4839b55e35920b (patch)
tree5d44c900f90cb96edd1ecd7aae97e8b3aff95f9c /org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target
parent3a497493083149871d01ee25b8c494325c699d6a (diff)
downloadjgit-bd2aced4a33690641d8a35f48b4839b55e35920b.tar.gz
jgit-bd2aced4a33690641d8a35f48b4839b55e35920b.zip
Use replace instead of replaceAll in toCleanString
This is from SonarLint (rule.java:S4348) Regex patterns should not be created needlessly: When String::replaceAll is used, the first argument should be a real regular expression. If it’s not the case, String::replace does exactly the same thing as String::replaceAll without the performance drawback of the regex. Change-Id: I00ba967ff4a27eeeb6fccf9373f6df2c94ecd823
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target')
0 files changed, 0 insertions, 0 deletions