This commit is contained in:
Nunzio Andrea Galante 2017-07-25 12:17:52 +00:00
parent 389446757f
commit 83fcaf3808
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");
@ -145,9 +146,10 @@ public class SendMail extends StandardLocalInfraAlgorithm {
s.add(this.username(SecurityTokenProvider.instance.get())); s.add(this.username(SecurityTokenProvider.instance.get()));
***REMOVED*** ***REMOVED***
return s.toString().replace("[", "").replace("]", ""); return s.toString().replace("[", "").replace("]", "");
***REMOVED*** ***REMOVED***
catch(Exception a){return "ngalante, lucio.lelii, roberto.cirillo, gianpaolo.coro, giancarlo.panichi, scarponi"; ***REMOVED***
***REMOVED***