]> source.dussan.org Git - jgit.git/commit
Specify charset when constructing InputStreamReader 40/128240/4
authorDavid Pursehouse <david.pursehouse@gmail.com>
Wed, 29 Aug 2018 04:49:35 +0000 (13:49 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Sep 2018 06:44:36 +0000 (01:44 -0500)
commita3cb474c94cb8a75b6dfc13ad36cd855ae969852
tree28de4807d06550202a4d10c9a5253fb9fdea77a1
parentc9e4359c7c87f3a5245bb7a6394192c7a2dea3b2
Specify charset when constructing InputStreamReader

ErrorProne warns [1] about implicit use of the platform default charset,
which can result in differing behaviour between JVM executions or
incorrect behavior if the encoding of the data source doesn't match
expectations.

[1] http://errorprone.info/bugpattern/DefaultCharset

Change-Id: I0fd489d352170339c3867355cd24324dfdbd4b59
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/LfsPrePushHook.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/indexdiff/IndexDiffWithSymlinkTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/merge/CrissCrossMergeTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/WalkEncryptionTest.java