This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git
The following commit(s) were added to refs/heads/master by this push:
new bac178d removed getEmptyString(); listValue="" has the same effect.
bac178d is described below
commit bac178deba380d765446a91dd58867845b8c67bc
Author: Michael Bien <[email protected]>
AuthorDate: Mon Jun 28 01:40:42 2021 +0200
removed getEmptyString(); listValue="" has the same effect.
---
.../java/org/apache/roller/weblogger/pojos/WeblogEntryComment.java | 4 ----
app/src/main/webapp/WEB-INF/jsps/editor/Comments.jsp | 6 +++---
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git
a/app/src/main/java/org/apache/roller/weblogger/pojos/WeblogEntryComment.java
b/app/src/main/java/org/apache/roller/weblogger/pojos/WeblogEntryComment.java
index 51a4c99..06861d5 100644
---
a/app/src/main/java/org/apache/roller/weblogger/pojos/WeblogEntryComment.java
+++
b/app/src/main/java/org/apache/roller/weblogger/pojos/WeblogEntryComment.java
@@ -291,10 +291,6 @@ public class WeblogEntryComment implements Serializable {
public Boolean getApproved() {
return ApprovalStatus.APPROVED.equals(getStatus());
}
-
- public String getEmptyString() {
- return "";
- }
/**
diff --git a/app/src/main/webapp/WEB-INF/jsps/editor/Comments.jsp
b/app/src/main/webapp/WEB-INF/jsps/editor/Comments.jsp
index 2fe94d9..f13a8d5 100644
--- a/app/src/main/webapp/WEB-INF/jsps/editor/Comments.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/editor/Comments.jsp
@@ -211,16 +211,16 @@
<%-- only blog admins (not the global admin) can
approve blog comments --%>
<td>
<s:checkboxlist name="bean.approvedComments"
cssClass="comment-select"
- list="#comment" listKey="id"
listValue="emptyString" />
+ list="#comment" listKey="id"
listValue="" />
</td>
</s:if>
<td>
<s:checkboxlist name="bean.spamComments"
cssClass="comment-select"
- list="#comment" listKey="id"
listValue="emptyString" />
+ list="#comment" listKey="id"
listValue="" />
</td>
<td>
<s:checkboxlist name="bean.deleteComments"
cssClass="comment-select"
- list="#comment" listKey="id"
listValue="emptyString" />
+ list="#comment" listKey="id"
listValue="" />
</td>
<%--
======================================================== --%>