]> source.dussan.org Git - jgit.git/commit
Replace custom encoder Constants#encodeASCII by JDK implementation 48/1203548/3
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 6 Sep 2024 11:42:27 +0000 (13:42 +0200)
committerLuca Milanesio <luca.milanesio@gmail.com>
Sat, 9 Nov 2024 23:20:01 +0000 (23:20 +0000)
commitd34f8b523638fc95b2e7006d02c9f6a756cbba85
tree3274814ac377e76db18ee77baa6f2aa9cdad023d
parente8c414b9cc72cd0e4f8c66b836de4c43f134b102
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
(cherry picked from commit 0fd76114e3436ac635641d06371fd8833179312d)
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java