<commit_before>package shop.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import shop.dao.RequestDao;

@Controller
@RequestMapping("/admin")
public class AdminController {

    @Autowired
    private RequestDao requestDao;

    @GetMapping({"", "/", "/requests"})
    public String getPageApplications(Model model, HttpServletRequest request) {
        //HttpServletRequest httpReq = (HttpServletRequest) request;
//        String url = request.getRequestURI();
//        model.addAttribute("url", url);
        model.addAttribute("requests", requestDao.getList());
        return "admin.requests";
    }
}
<commit_msg>Удалил лишние импорты<commit_after>package shop.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import shop.dao.RequestDao;

@Controller
@RequestMapping("/admin")
public class AdminController {

    @Autowired
    private RequestDao requestDao;

    @GetMapping({"", "/", "/requests"})
    public String getPageApplications(Model model) {
        model.addAttribute("requests", requestDao.getList());
        return "admin.requests";
    }
}

{'fraction_non_alphanumeric': 0.11560328490208464, 'fraction_numerical': 0.0, 'mean_word_length': 4.888475836431227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6954622', 'n_tokens_mistral': 416, 'n_tokens_neox': 432, 'n_words': 81}