if (decision.getAnswer() == true)
boolean canEdit = decision.getAnswer();     if ((grantable instanceof Proxy) && (((Proxy)grantable).getSubsystem() == null)) { canEdit = false; }  if (canEdit == true)
  public static String editLink    (PrivilegedSubject  loggedInPrivilegedSubject,     Grantable          grantable)  {    StringBuffer outStr = new StringBuffer();    String editAction      = (grantable instanceof Proxy ? "Designate.do" : "Conditions.do");    String paramName      = (grantable instanceof Proxy          ? Constants.PROXYID_HTTPPARAMNAME          : "assignmentId");        Decision decision = loggedInPrivilegedSubject.canEdit(grantable);    if (decision.getAnswer() == true)    {      outStr.append("<a\n");      outStr.append("  style=\"float: right;\"\n");      outStr.append("  href=\"" + editAction + "?" + paramName + "=" + grantable.getId() + "\">\n");      outStr.append("  <img\n");      outStr.append("    src=\"images/arrow_right.gif\"\n");      outStr.append("      alt=\"\" />\n");      outStr.append("  edit\n");      outStr.append("</a>");    }        return outStr.toString();  }