From d0c4a06109e26f8b588219cc8c32f761a0e8fa3f Mon Sep 17 00:00:00 2001 From: Colin DAMON <cdamon@ippon.fr> Date: Sun, 12 Jul 2020 14:30:30 +0200 Subject: [PATCH] Remove useless imports --- src/main/java/com/ippon/pouet/config/WebConfigurer.java | 1 - src/test/java/com/ippon/pouet/config/WebConfigurerTest.java | 1 - src/test/java/com/ippon/pouet/web/rest/AccountResourceIT.java | 2 -- src/test/java/com/ippon/pouet/web/rest/AuditResourceIT.java | 3 --- .../java/com/ippon/pouet/web/rest/UserJWTControllerIT.java | 1 - 5 files changed, 8 deletions(-) diff --git a/src/main/java/com/ippon/pouet/config/WebConfigurer.java b/src/main/java/com/ippon/pouet/config/WebConfigurer.java index c48840a..388f1da 100644 --- a/src/main/java/com/ippon/pouet/config/WebConfigurer.java +++ b/src/main/java/com/ippon/pouet/config/WebConfigurer.java @@ -22,7 +22,6 @@ import java.io.File; import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import java.nio.file.Paths; -import java.util.*; import static java.net.URLDecoder.decode; diff --git a/src/test/java/com/ippon/pouet/config/WebConfigurerTest.java b/src/test/java/com/ippon/pouet/config/WebConfigurerTest.java index 9899a8b..a7101da 100644 --- a/src/test/java/com/ippon/pouet/config/WebConfigurerTest.java +++ b/src/test/java/com/ippon/pouet/config/WebConfigurerTest.java @@ -2,7 +2,6 @@ package com.ippon.pouet.config; import io.github.jhipster.config.JHipsterConstants; import io.github.jhipster.config.JHipsterProperties; -import io.github.jhipster.web.filter.CachingHttpHeadersFilter; import org.h2.server.web.WebServlet; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/src/test/java/com/ippon/pouet/web/rest/AccountResourceIT.java b/src/test/java/com/ippon/pouet/web/rest/AccountResourceIT.java index 51035cf..5404e7a 100644 --- a/src/test/java/com/ippon/pouet/web/rest/AccountResourceIT.java +++ b/src/test/java/com/ippon/pouet/web/rest/AccountResourceIT.java @@ -12,13 +12,11 @@ import com.ippon.pouet.service.dto.UserDTO; import com.ippon.pouet.web.rest.vm.KeyAndPasswordVM; import com.ippon.pouet.web.rest.vm.ManagedUserVM; import org.apache.commons.lang3.RandomStringUtils; -import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.MediaType; -import org.springframework.http.converter.HttpMessageConverter; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.test.context.support.WithMockUser; import org.springframework.test.web.servlet.MockMvc; diff --git a/src/test/java/com/ippon/pouet/web/rest/AuditResourceIT.java b/src/test/java/com/ippon/pouet/web/rest/AuditResourceIT.java index 3fac55b..b3847ce 100644 --- a/src/test/java/com/ippon/pouet/web/rest/AuditResourceIT.java +++ b/src/test/java/com/ippon/pouet/web/rest/AuditResourceIT.java @@ -10,12 +10,9 @@ import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.data.web.PageableHandlerMethodArgumentResolver; import org.springframework.http.MediaType; import org.springframework.security.test.context.support.WithMockUser; -import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.test.web.servlet.MockMvc; -import org.springframework.test.web.servlet.setup.MockMvcBuilders; import org.springframework.transaction.annotation.Transactional; import java.time.Instant; diff --git a/src/test/java/com/ippon/pouet/web/rest/UserJWTControllerIT.java b/src/test/java/com/ippon/pouet/web/rest/UserJWTControllerIT.java index 6406b4b..26939b3 100644 --- a/src/test/java/com/ippon/pouet/web/rest/UserJWTControllerIT.java +++ b/src/test/java/com/ippon/pouet/web/rest/UserJWTControllerIT.java @@ -11,7 +11,6 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.MediaType; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.test.web.servlet.MockMvc; -import org.springframework.test.web.servlet.setup.MockMvcBuilders; import org.springframework.transaction.annotation.Transactional; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; -- GitLab