diff --git a/src/main/java/com/ippon/pouet/config/WebConfigurer.java b/src/main/java/com/ippon/pouet/config/WebConfigurer.java index c48840a1eaae70063970f0097787f6965cb79744..388f1dabe91d33bed35d9ff24e2867b7502a3bc5 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 9899a8bb1bcd97bbe4ee5ba707fd0f5b20d0442c..a7101da287dfc323525a69b21bc9845e2b30af3a 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 51035cfe2a8efcd15f4190153722b0d90bcf9bcf..5404e7a2fda799f4a1ecf64ea767ee132646ad0f 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 3fac55b08673a3a32deb672b3fdbb0a6e7cd94b1..b3847cea77b3b4e4007545b3e977f840bd11ab1a 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 6406b4bed155987000a9e7308773f39426b5f5b7..26939b3dd93b8207f19c6cd5e7ff0b1919a6dba7 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;