]> source.dussan.org Git - jgit.git/commit
Using StringBuilder in StringUtils#capitalize method 05/154705/2
authorLars Vogel <Lars.Vogel@vogella.com>
Tue, 17 Dec 2019 22:51:00 +0000 (23:51 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 17 Dec 2019 23:18:41 +0000 (00:18 +0100)
commitccd68dc1dc2e90ba88aa1162b99ea40154a2cb93
tree7ca4b0819367a99e604253fcafdede764340a481
parent2db0c6bb7a1e2092de605d277711749899f8ebdf
Using StringBuilder in StringUtils#capitalize method

StringBuffer is synchronized which is slower and should be replaced with
StringBuilder according to its Javadoc.

Change-Id: If4d4a5a49da289ded34bbec97132ab7636b937cc
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java