Skip to content

Commit b6b7a43

Browse files
committed
remove more dead code
1 parent 98f56a5 commit b6b7a43

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

src/main/java/edu/harvard/iq/dataverse/Guestbook.java

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -188,35 +188,7 @@ public boolean isDeletable() {
188188

189189
public void setDeletable(boolean deletable) {
190190
this.deletable = deletable;
191-
}
192-
193-
public String getRequiredCustomQuestionsString(){
194-
String retVal = "";
195-
for (CustomQuestion cq : this.getCustomQuestions()){
196-
if(cq.isRequired()){
197-
if(retVal.isEmpty()){
198-
retVal = "Required Custom Questions<br/>&#160; &#8226; " + StringEscapeUtils.escapeHtml(cq.getQuestionString());
199-
} else {
200-
retVal += "<br/>&#160; &#8226; " + StringEscapeUtils.escapeHtml(cq.getQuestionString());
201-
}
202-
}
203-
}
204-
return retVal;
205-
}
206-
207-
public String getOptionalCustomQuestionsString(){
208-
String retVal = "";
209-
for (CustomQuestion cq : this.getCustomQuestions()){
210-
if(!cq.isRequired()){
211-
if(retVal.isEmpty()){
212-
retVal = "Optional Custom Questions<br/>&#160; &#8226; " + StringEscapeUtils.escapeHtml(cq.getQuestionString());
213-
} else {
214-
retVal += "<br/>&#160; &#8226; " + StringEscapeUtils.escapeHtml(cq.getQuestionString());
215-
}
216-
}
217-
}
218-
return retVal;
219-
}
191+
}
220192

221193
public List<String> getRequiredAccountInformation() {
222194
List<String> retList = new ArrayList();

0 commit comments

Comments
 (0)