jgit/org.eclipse.jgit.http.test
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
..
.settings Ignore warning for minor version change without API change 2017-11-24 01:12:14 +01:00
META-INF dfs: Switch InMemoryRepository to DfsReftableDatabase 2017-10-18 17:35:27 -07:00
src/org/eclipse/jgit/http/test dfs: Switch InMemoryRepository to DfsReftableDatabase 2017-10-18 17:35:27 -07:00
tst/org/eclipse/jgit/http Use constants from StandardCharsets instead of hard-coded strings 2017-12-07 20:02:59 +09:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.gitignore Make HTTP test project work in Eclipse 2010-01-23 11:29:25 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
BUILD Bazel: Add missing dependency in org.eclipse.jgit.http.test 2017-08-18 10:01:06 +01:00
build.properties Add path src/ to source path in build.properties 2016-08-06 19:12:06 -04:00
org.eclipse.jgit.http--All-Tests.launch Add the other test launchers as favorites 2013-06-16 23:33:29 +02:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 4.10.0-SNAPSHOT builds 2017-10-08 11:35:54 +02:00