protected void removeEditLink(List<HtmlData> htmlDataList) {
   int editLinkIndex = -1;
   int currentIndex = 0;
   for (HtmlData htmlData : htmlDataList) {
     if (KRADConstants.MAINTENANCE_EDIT_METHOD_TO_CALL.equals(htmlData.getMethodToCall())) {
       editLinkIndex = currentIndex;
       break;
     }
     currentIndex++;
   }
   if (editLinkIndex != -1) {
     htmlDataList.remove(editLinkIndex);
   }
 }