Commit 0cffcd5f authored by Tiago Cunha's avatar Tiago Cunha Committed by GitHub

Merge branch 'develop' into feature/untengle-modules

parents c046b1ab 65e83be0
......@@ -49,6 +49,10 @@ public class ServerPolicyHelper {
return hostname.replaceAll("/+$", "");
}
private static String removeExtraInvalidChars(String hostname) {
return hostname.replaceAll("[^\\w|\\.|\\-|/]", "");
}
private static boolean isValid(JSONObject jsonObject) {
if (jsonObject == null) {
return false;
......
......@@ -51,6 +51,9 @@ public class MessageExtraActionListAdapter
@Override
public int getItemCount() {
if (actionItems == null) {
return 0;
}
return actionItems.size();
}
......
Markdown is supported
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