jgit/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib
Matthias Sohn a4feeb0194 Don't rely on default locale when using toUpperCase() and toLowerCase()
Otherwise these methods may produce unexpected results if used for
strings that are intended to be interpreted locale independently.
Examples are programming language identifiers, protocol keys, and HTML
tags. For instance, "TITLE".toLowerCase() in a Turkish locale returns
"t\u0131tle", where '\u0131' is the LATIN SMALL LETTER DOTLESS I
character.

See
https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toLowerCase--
http://blog.thetaphi.de/2012/07/default-locales-default-charsets-and.html

Bug: 511238
Change-Id: Id8d8f37d84d62239c918b81f8d883ed798d87656
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-01-28 15:06:15 +01:00
..
AbbreviatedLongObjectIdTest.java Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
LFSPointerTest.java Fix encoding of LFSPointer files 2016-11-24 17:26:56 +01:00
LfsPointerFilterTest.java Add LfsPointerFilter TreeFilter 2017-01-10 00:13:24 +01:00
LongObjectIdTest.java Don't rely on default locale when using toUpperCase() and toLowerCase() 2017-01-28 15:06:15 +01:00
MutableLongObjectIdTest.java Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00