This commit is contained in:
Nunzio Andrea Galante 2017-07-25 12:17:52 +00:00
parent 7a074d742d
commit 3eb0ef1065
1 changed files with 8 additions and 6 deletions

View File

@ -133,6 +133,7 @@ public class SendMail extends StandardLocalInfraAlgorithm {
public String getAdmins() throws Exception { public String getAdmins() throws Exception {
try{
List<String> s = new LinkedList<String>(); List<String> s = new LinkedList<String>();
JSONObject obj = new JSONObject(this.getAdminRoles()); JSONObject obj = new JSONObject(this.getAdminRoles());
JSONArray data = obj.getJSONArray("result"); JSONArray data = obj.getJSONArray("result");
@ -146,8 +147,9 @@ public class SendMail extends StandardLocalInfraAlgorithm {
} }
return s.toString().replace("[", "").replace("]", ""); return s.toString().replace("[", "").replace("]", "");
} }
catch(Exception a){return "ngalante, lucio.lelii, roberto.cirillo, gianpaolo.coro, giancarlo.panichi, scarponi"; }
}