]> source.dussan.org Git - jgit.git/commit
Replace custom encoder Constants#encodeASCII by JDK implementation 43/1200643/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 6 Sep 2024 11:42:27 +0000 (13:42 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 6 Sep 2024 12:28:53 +0000 (14:28 +0200)
commit0fd76114e3436ac635641d06371fd8833179312d
tree4c1251392245e9e71b9a6e1e741e3cd39bf6be70
parente5d2898997462e0f2409c09497ab62c6cda2dbaf
Replace custom encoder Constants#encodeASCII by JDK implementation

Ensure that the method still throws an IllegalArgumentException for
malformed input or if the String contains unmappable characters.

Change-Id: I6a340aa1af60c315272ff13b6bf2041ba30c94ca
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java