package com.example.project.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

/**
 * Basic controller for the main menu page.
 */
@Controller
@RequestMapping("")
public class MainController {

    @SuppressWarnings("SpringJavaAutowiringInspection")
	@Autowired
    ServletContext servletContext;

    /**
     * Displays the main menu page.
     * @return the name of the jsp to display
     */
	@RequestMapping("")
	public String home(HttpServletRequest request,
					   Model model,
                       @RequestParam(required = false) String userName,
                       @RequestParam(required = false) String url) {
		model.addAttribute("message", "Hello World!");
		return "main";
	}

}
@@ -782,16 +782,8 @@
 est,
-%0A%09%09%09%09%09  
  Mod
@@ -794,147 +794,8 @@
 odel
-,%0A                       @RequestParam(required = false) String userName,%0A                       @RequestParam(required = false) String url
 ) %7B%0A

Test commit from IntelliJ IDEA