<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
    <bean id="xmlViewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
        <property name="location" value="/WEB-INF/special-views.xml"/>
    </bean>
    
   <bean id="loginViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="viewClass"
                  value="org.springframework.web.servlet.view.InternalResourceView"/>
        <property name="prefix" value="/WEB-INF/views/"/>
        <property name="suffix" value=".jsp"/>
    </bean>
    
    <bean id="publicHandlerMapping" class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>

    <bean name="/login" id="loginController"
          class="edu.northwestern.bioinformatics.studycalendar.web.LoginController" autowire="byName"/>

    <!-- Retained to preserve URL compatibility in case anyone bookmarked this page on vera -->
    <bean name="/welcome" id="welcomeController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController">
        <property name="viewName" value="redirectToRoot"/>
    </bean>

    <bean name="/error" id="errorController"
          class="edu.northwestern.bioinformatics.studycalendar.web.ErrorController" autowire="byName"/>

    <!-- Reenable when needed for testing -->
    <bean name="/throw" id="throwController"
          class="edu.northwestern.bioinformatics.studycalendar.web.ExceptionThrowingController" autowire="byType"/>

    <bean name="/accessDenied" id="accessDeniedController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController">
        <property name="viewName" value="accessDenied"/>
    </bean>

    <bean name="/configuration.js" id="configurationJsController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController"><commit_msg>Revert enablement of error-throwing controller.  Accidentally done with #1297.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
    <bean id="xmlViewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
        <property name="location" value="/WEB-INF/special-views.xml"/>
    </bean>
    
   <bean id="loginViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="viewClass"
                  value="org.springframework.web.servlet.view.InternalResourceView"/>
        <property name="prefix" value="/WEB-INF/views/"/>
        <property name="suffix" value=".jsp"/>
    </bean>
    
    <bean id="publicHandlerMapping" class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>

    <bean name="/login" id="loginController"
          class="edu.northwestern.bioinformatics.studycalendar.web.LoginController" autowire="byName"/>

    <!-- Retained to preserve URL compatibility in case anyone bookmarked this page on vera -->
    <bean name="/welcome" id="welcomeController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController">
        <property name="viewName" value="redirectToRoot"/>
    </bean>

    <bean name="/error" id="errorController"
          class="edu.northwestern.bioinformatics.studycalendar.web.ErrorController" autowire="byName"/>

    <!-- Reenable when needed for testing
    <bean name="/throw" id="throwController"
          class="edu.northwestern.bioinformatics.studycalendar.web.ExceptionThrowingController" autowire="byType"/>
    -->

    <bean name="/accessDenied" id="accessDeniedController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController">
        <property name="viewName" value="accessDenied"/>
    </bean>

    <bean name="/configuration.js" id="configurationJsController"
          class="org.springframework.web.servlet.mvc.ParameterizableViewController">
{'fraction_non_alphanumeric': 0.14373615555008615, 'fraction_numerical': 0.002461235540241201, 'mean_word_length': 4.011097410604193, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 2, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '1077112', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1082, 'n_words': 179}