<commit_before><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- objectDetailsDisplayers.jsp -->

<html:xhtml/>

<tiles:importAttribute name="displayObject"/>
<tiles:importAttribute name="placement"/>
<tiles:importAttribute name="heading" ignore="true"/>
<tiles:importAttribute name="showOnLeft" ignore="true"/>

<c:forEach items="${displayObject.clds}" var="cld">
  <c:if test="${fn:length(WEBCONFIG.types[cld.name].longDisplayers) > 0}">
    <c:if test="${heading == true}">
      <div class="heading">
        <span style="white-space:nowrap">Further information for this ${cld.unqualifiedName}</span>
      </div>
      <div class="body">
    </c:if>
    <c:forEach items="${WEBCONFIG.types[cld.name].longDisplayers}" var="displayer">

    <c:if test="${empty showOnLeft || (showOnLeft == displayer.showOnLeft)}">
      <c:set var="object_bk" value="${object}"/>
      <c:set var="object" value="${displayObject.object}" scope="request"/>
      <c:set var="cld" value="${cld}" scope="request"/>
      <tiles:insert beanName="displayer" beanProperty="src"/><br/>
      <c:set var="object" value="${object_bk}" scope="request"/>
  </c:if>

    </c:forEach>
    <c:if test="${heading == true}">
      </div>
    </c:if>
  </c:if>
</c:forEach>

<!-- /objectDetailsDisplayers.jsp --><commit_msg>don't require config for displayers<commit_after><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- objectDetailsDisplayers.jsp -->

<html:xhtml/>

<tiles:importAttribute name="displayObject"/>
<tiles:importAttribute name="placement"/>
<tiles:importAttribute name="heading" ignore="true"/>
<tiles:importAttribute name="showOnLeft" ignore="true"/>

<c:forEach items="${displayObject.clds}" var="cld">
  <c:if test="${fn:length(WEBCONFIG.types[cld.name].longDisplayers) > 0}">
    <c:if test="${heading == true}">
      <div class="heading">
        <span style="white-space:nowrap">Further information for this ${cld.unqualifiedName}</span>
      </div>
      <div class="body">
    </c:if>
    <c:forEach items="${WEBCONFIG.types[cld.name].longDisplayers}" var="displayer">

    <c:if test="${(empty showOnLeft && displayer.showOnLeft == 'false') || (showOnLeft == displayer.showOnLeft)}">
      <c:set var="object_bk" value="${object}"/>
      <c:set var="object" value="${displayObject.object}" scope="request"/>
      <c:set var="cld" value="${cld}" scope="request"/>
      <tiles:insert beanName="displayer" beanProperty="src"/><br/>
      <c:set var="object" value="${object_bk}" scope="request"/>
  </c:if>

    </c:forEach>
    <c:if test="${heading == true}">
      </div>
    </c:if>
  </c:if>
</c:forEach>

<!-- /objectDetailsDisplayers.jsp -->
{'fraction_non_alphanumeric': 0.23097908457108215, 'fraction_numerical': 0.0006062443164595332, 'mean_word_length': 4.689655172413793, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '981680', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1166, 'n_words': 182}