diff options
| author | Markus Keller | 2012-09-26 22:17:53 +0000 |
|---|---|---|
| committer | Matthias Sohn | 2012-09-26 22:17:53 +0000 |
| commit | a27c1a6b15c8237739285544ab1e4c56543b2985 (patch) | |
| tree | 113b0bcfc71f2d4e6e9691435b166868785ac76b | |
| parent | 0b19db77cb77925b55777128fe12d8cbe80fb5bc (diff) | |
| download | jgit-a27c1a6b15c8237739285544ab1e4c56543b2985.tar.gz jgit-a27c1a6b15c8237739285544ab1e4c56543b2985.tar.xz jgit-a27c1a6b15c8237739285544ab1e4c56543b2985.zip | |
Fix compile error (method not available in 1.5)
Change-Id: I07aca821010daca75a66506b9ca738bc8c262abb
Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
| -rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java index 7ae491b38b..15637e7ac3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java @@ -192,7 +192,7 @@ public class FileBasedConfig extends StoredConfig { bos.write(0xEF); bos.write(0xBB); bos.write(0xBF); - bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET)); + bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET.name())); out = bos.toByteArray(); } else { out = Constants.encode(text); |
