package com.aemreunal.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/*
 **************************
 * Copyright (c) 2014     *
 *                        *
 * This code belongs to:  *
 *                        *
 * Ahmet Emre Ünal        *
 * S001974                *
 *                        *
 * aemreunal@gmail.com    *
 * emre.unal@ozu.edu.tr   *
 *                        *
 * aemreunal.com          *
 **************************
 */

@Configuration
@EnableWebMvc
@ComponentScan(basePackages = { "com.aemreunal.controller" })
public class MVCConfig {
    // TODO find out what this class is used for
}

@@ -216,16 +216,98 @@
 eWebMvc;
+%0Aimport org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
 %0A%0A/*%0A **
@@ -672,16 +672,142 @@
 **%0A */%0A%0A
+/*%0A * http://www.petrikainulainen.net/programming/spring-framework/unit-testing-of-spring-mvc-controllers-configuration/%0A */%0A%0A
 @Configu
@@ -912,16 +912,48 @@
 CConfig 
+extends WebMvcConfigurerAdapter 
 %7B%0A    //
@@ -995,10 +995,11 @@
 sed for%0A
+%0A
 %7D%0A

Add information