提交 f51bf4ce 编写于 作者: R Ray

修复filterAttribute的true,false

上级 5d17aab5
......@@ -224,7 +224,7 @@ public class Logger {
private String message(String id, String message) {
StringBuilder o = new StringBuilder();
o.append(ID_TAG).append(StringUtils.isEmpty(id) ? Thread.currentThread().getName() : id).append(NAME_TAG)
.append(this.name).append(MESSAGE_TAG).append(message).append(".");
.append(this.name).append(MESSAGE_TAG).append(message);
return o.toString();
}
......
......@@ -362,10 +362,10 @@ class ActionFilterAttributeFilter extends BaseAction {
NameValueCountPair o = new NameValueCountPair();
if (BooleanUtils.isTrue(value)) {
o.setValue(Boolean.TRUE);
o.setName("not completed");
o.setName("completed");
} else {
o.setValue(Boolean.FALSE);
o.setName("completed");
o.setName("not completed");
}
wos.add(o);
}
......
......@@ -406,10 +406,10 @@ class ActionFilterAttributeFilter extends BaseAction {
NameValueCountPair o = new NameValueCountPair();
if (BooleanUtils.isTrue(value)) {
o.setValue(Boolean.TRUE);
o.setName("not completed");
o.setName("completed");
} else {
o.setValue(Boolean.FALSE);
o.setName("completed");
o.setName("not completed");
}
wos.add(o);
}
......
......@@ -414,10 +414,10 @@ class ActionFilterAttributeFilter extends BaseAction {
NameValueCountPair o = new NameValueCountPair();
if (BooleanUtils.isTrue(value)) {
o.setValue(Boolean.TRUE);
o.setName("not completed");
o.setName("completed");
} else {
o.setValue(Boolean.FALSE);
o.setName("completed");
o.setName("not completed");
}
wos.add(o);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册