<commit_before><?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
	      http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0">

  <display-name>jPOS</display-name>

  <servlet>
    <servlet-name>QI</servlet-name>
    <servlet-class>org.jpos.qi.QIServlet</servlet-class>
    <init-param>
      <param-name>UI</param-name>
      <param-value>org.jpos.qi.QI</param-value>
    </init-param>
    <init-param>
      <param-name>closeIdleSessions</param-name>
      <param-value>true</param-value>
    </init-param>
    <init-param>
      <param-name>widgetset</param-name>
      <param-value>org.jpos.AppWidgetset</param-value>
    </init-param>
    <init-param>
      <param-name>heartbeatInterval</param-name>
      <param-value>180</param-value>
    </init-param>
    <init-param>
      <description>Vaadin production mode</description>
      <param-name>productionMode</param-name>
      <param-value>false</param-value>
    </init-param>
    <init-param>
      <param-name>pushmode</param-name>
      <param-value>manual</param-value>
    </init-param>
    <init-param>
      <param-name>org.atmosphere.websocket.suppressJSR356</param-name>
      <param-value>true</param-value>
    </init-param>

    <async-supported>true</async-supported>
  </servlet>
  <servlet-mapping>
    <servlet-name>QI</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
  <session-config>
    <cookie-config>
      <http-only>true</http-only>
    </cookie-config>
  </session-config>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
  <listener>
    <listener-class>org.atmosphere.cpr.SessionSupport</listener-class>
  </listener>
  <context-param>
    <param-name>org.atmosphere.cpr.sessionSupport</param-name>
    <param-value>true</param-value>
  </context-param>
</web-app>
<commit_msg>Disable supressJSR356 feature<commit_after><?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
	      http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0">

  <display-name>jPOS</display-name>

  <servlet>
    <servlet-name>QI</servlet-name>
    <servlet-class>org.jpos.qi.QIServlet</servlet-class>
    <init-param>
      <param-name>UI</param-name>
      <param-value>org.jpos.qi.QI</param-value>
    </init-param>
    <init-param>
      <param-name>closeIdleSessions</param-name>
      <param-value>true</param-value>
    </init-param>
    <init-param>
      <param-name>widgetset</param-name>
      <param-value>org.jpos.AppWidgetset</param-value>
    </init-param>
    <init-param>
      <param-name>heartbeatInterval</param-name>
      <param-value>180</param-value>
    </init-param>
    <init-param>
      <description>Vaadin production mode</description>
      <param-name>productionMode</param-name>
      <param-value>false</param-value>
    </init-param>
    <init-param>
      <param-name>pushmode</param-name>
      <param-value>manual</param-value>
    </init-param>
    <!--
    Enabling this feature causes "SessionExpired" in Jetty newer than 9.3.19.v20170502
    <init-param>
      <param-name>org.atmosphere.websocket.suppressJSR356</param-name>
      <param-value>true</param-value>
    </init-param>
    -->
    <async-supported>true</async-supported>
  </servlet>
  <servlet-mapping>
    <servlet-name>QI</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
  <session-config>
    <cookie-config>
      <http-only>true</http-only>
    </cookie-config>
  </session-config>
  <session-config>
    <session-timeout>1800</session-timeout>
  </session-config>
  <listener>
    <listener-class>org.atmosphere.cpr.SessionSupport</listener-class>
  </listener>
  <context-param>
    <param-name>org.atmosphere.cpr.sessionSupport</param-name>
    <param-value>true</param-value>
  </context-param>
</web-app>
{'fraction_non_alphanumeric': 0.1805352798053528, 'fraction_numerical': 0.013868613138686132, 'mean_word_length': 3.0946215139442232, 'pattern_counts': {'":': 0, '<': 170, '<?xml version=': 2, '>': 170, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, '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': '4115454', 'n_tokens_mistral': 1541, 'n_tokens_neox': 1482, 'n_words': 144}