#15 -- Some classes refactoring

This commit is contained in:
Anton Romanov 2021-03-27 12:13:07 +04:00
parent 0e371723c0
commit 736ee1b3d8
8 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc;
package ru.ulstu.extractor.config;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc;
package ru.ulstu.extractor.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc;
package ru.ulstu.extractor.config;
import nz.net.ultraq.thymeleaf.LayoutDialect;
import org.springframework.beans.factory.annotation.Value;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc;
package ru.ulstu.extractor.controller;
import org.eclipse.jgit.api.errors.GitAPIException;
import org.springframework.data.domain.Page;
@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import ru.ulstu.extractor.model.Commit;
import ru.ulstu.extractor.mvc.model.FilterForm;
import ru.ulstu.extractor.model.mvc.FilterForm;
import ru.ulstu.extractor.service.CommitService;
import ru.ulstu.extractor.service.FilteringService;
import ru.ulstu.extractor.service.GitRepositoryService;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc;
package ru.ulstu.extractor.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
@ -8,8 +8,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import ru.ulstu.extractor.model.Branch;
import ru.ulstu.extractor.mvc.model.FilterForm;
import ru.ulstu.extractor.mvc.model.RepoForm;
import ru.ulstu.extractor.model.mvc.FilterForm;
import ru.ulstu.extractor.model.mvc.RepoForm;
import ru.ulstu.extractor.service.GitRepositoryService;
import java.util.List;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc.model;
package ru.ulstu.extractor.model.mvc;
public class FilterForm {
private String filter;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.mvc.model;
package ru.ulstu.extractor.model.mvc;
public class RepoForm {
private String repo;

View File

@ -1,4 +1,4 @@
package ru.ulstu.extractor.db;
package ru.ulstu.extractor.repository;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;