提交 0e3afeb6 编写于 作者: J Jesse Glick

Sources are UTF-8 so might as well use the raw character when specifying...

Sources are UTF-8 so might as well use the raw character when specifying something that will be a part of output.
上级 76bd6d6b
......@@ -257,7 +257,7 @@ public class Functions {
* like "-5", "+/-0", "+3".
*/
public static String getDiffString(int i) {
if(i==0) return "\u00B10"; // +/-0
if(i==0) return "±0";
String s = Integer.toString(i);
if(i>0) return "+"+s;
else return s;
......
......@@ -323,7 +323,7 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
public final String getFullDisplayName() {
String n = getParent().getFullDisplayName();
if(n.length()==0) return getDisplayName();
else return n+" \u00BB "+getDisplayName();
else return n+" » "+getDisplayName();
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册