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>
This commit is contained in:
parent
0b19db77cb
commit
a27c1a6b15
|
@ -192,7 +192,7 @@ public void save() throws IOException {
|
||||||
bos.write(0xEF);
|
bos.write(0xEF);
|
||||||
bos.write(0xBB);
|
bos.write(0xBB);
|
||||||
bos.write(0xBF);
|
bos.write(0xBF);
|
||||||
bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET));
|
bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET.name()));
|
||||||
out = bos.toByteArray();
|
out = bos.toByteArray();
|
||||||
} else {
|
} else {
|
||||||
out = Constants.encode(text);
|
out = Constants.encode(text);
|
||||||
|
|
Loading…
Reference in New Issue