aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-09-29 15:01:02 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-09-30 14:34:14 +0900
commit74789e77866d8aac7285149472c13a417b4aaa69 (patch)
tree84ed26e1286c474f5fb6b97974103fef9a8a9876 /org.eclipse.jgit
parentb65a310abcaf7649802a92114038b5458822eddb (diff)
downloadjgit-74789e77866d8aac7285149472c13a417b4aaa69.tar.gz
jgit-74789e77866d8aac7285149472c13a417b4aaa69.zip
SidebandInputStream: Specify charset when calling String.getBytes()
Change-Id: I96c3f6b2ef3db9619bb3ae46dfbf8bcff3c1cbca Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java
index 90600cbb98..fde4401289 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java
@@ -236,7 +236,7 @@ public class SideBandInputStream extends InputStream {
messages.write(msg);
if (out != null)
- out.write(msg.getBytes());
+ out.write(msg.getBytes(UTF_8));
}
private void beginTask(int totalWorkUnits) {