/** * used on the index.jsp page of fgsms, finds a particular record * returned from fgsms.StatusService and returns the specific record. * */ public static GetStatusResponseMsg Findrecord(String url, List<GetStatusResponseMsg> list) { if (Utility.stringIsNullOrEmpty(url)) { return null; } if (list == null || list.isEmpty()) { return null; } for (int i = 0; i < list.size(); i++) { if (list.get(i).getURI().equalsIgnoreCase(url)) { GetStatusResponseMsg t = list.get(i); list.remove(i); return t; } } return null; }