Commit 5601bbdb authored by Hiro's avatar Hiro 🏄
Browse files

Add javadoc comments to functions

parent 75b41be8
Pipeline #40245 failed with stage
in 4 minutes and 18 seconds
This diff is collapsed.
......@@ -422,9 +422,12 @@ public class DetailsDocument extends Document {
private String contact;
/**
* Santize the contact field if it contains a percent char by removing it.
*/
public void setContact(String contact) {
if ((contact != null) && (contact.indexOf('%') != -1)) {
contact = contact.replace("%", "%%");
contact = contact.replace("%", " ");
}
this.contact = escapeJson(contact);
}
......
......@@ -127,9 +127,12 @@ public class DetailsStatus extends Document {
private String contact;
/**
* Santize the contact field if it contains a percent char by removing it.
*/
public void setContact(String contact) {
if ((contact != null) && (contact.indexOf('%') != -1)) {
contact = contact.replace("%", "");
contact = contact.replace("%", " ");
}
this.contact = escapeJson(contact);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment