提交 5c6da291 authored 作者: Uncle-pan's avatar Uncle-pan

*Using 4 spaces for indentation

上级 1ab3e1a6
...@@ -420,9 +420,9 @@ public class SourceCompiler { ...@@ -420,9 +420,9 @@ public class SourceCompiler {
} }
private static void handleSyntaxError(String output, int exitStatus) { private static void handleSyntaxError(String output, int exitStatus) {
if(0 == exitStatus){ if(0 == exitStatus){
return; return;
} }
boolean syntaxError = false; boolean syntaxError = false;
final BufferedReader reader = new BufferedReader(new StringReader(output)); final BufferedReader reader = new BufferedReader(new StringReader(output));
try { try {
......
...@@ -960,9 +960,9 @@ public abstract class Value { ...@@ -960,9 +960,9 @@ public abstract class Value {
case STRING: { case STRING: {
String s; String s;
if (getType() == BYTES && mode != null && mode.charToBinaryInUtf8) { if (getType() == BYTES && mode != null && mode.charToBinaryInUtf8) {
// Bugfix - Can't use the locale encoding when enabling charToBinaryInUtf8 in mode. // Bugfix - Can't use the locale encoding when enabling charToBinaryInUtf8 in mode.
// The following two target types also are the same issue. // The following two target types also are the same issue.
// @since 2018-07-19 little-pan // @since 2018-07-19 little-pan
s = new String(getBytesNoCopy(), StandardCharsets.UTF_8); s = new String(getBytesNoCopy(), StandardCharsets.UTF_8);
} else { } else {
s = getString(); s = getString();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论