jgit/org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib
David Pursehouse 171f84a041 Use constants from StandardCharsets instead of hard-coded strings
Instead of hard-coding the charset strings "US-ASCII", "UTF-8", and
"ISO-8859-1", use the corresponding constants from StandardCharsets.

UnsupportedEncodingException is not thrown when the StandardCharset
constants are used, so remove the now redundant handling.

Because the encoding names are no longer hard-coded strings, also
remove redundant $NON-NLS warning suppressions.

Also replace existing usages of the constants with static imports.

Change-Id: I0a4510d3d992db5e277f009a41434276f95bda4e
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2017-12-07 20:02:59 +09:00
..
AbbreviatedLongObjectIdTest.java Suppress "Unlikely argument type for equals()" warnings in tests 2017-11-06 10:34:34 +01:00
LFSPointerTest.java Use constants from StandardCharsets instead of hard-coded strings 2017-12-07 20:02:59 +09:00
LfsPointerFilterTest.java Add LfsPointerFilter TreeFilter 2017-01-10 00:13:24 +01:00
LongObjectIdTest.java Use constants from StandardCharsets instead of hard-coded strings 2017-12-07 20:02:59 +09:00
MutableLongObjectIdTest.java Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00