Skip to content

Commit

Permalink
Merge pull request #36 from ho0010/dev
Browse files Browse the repository at this point in the history
Delete: unnecessary import
  • Loading branch information
ho0010 authored Aug 1, 2024
2 parents 66b46c7 + b8f1478 commit 69a788f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import store.itpick.backend.common.argument_resolver.PreAuthorize;
import store.itpick.backend.common.exception.jwt.unauthorized.JwtExpiredTokenException;
import store.itpick.backend.common.exception.jwt.unauthorized.JwtInvalidTokenException;
import store.itpick.backend.common.response.BaseResponse;
import store.itpick.backend.dto.auth.LoginRequest;
import store.itpick.backend.dto.auth.LoginResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package store.itpick.backend.service;

import jakarta.transaction.Transactional;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.core.HashOperations;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/store/itpick/backend/service/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.dao.IncorrectResultSizeDataAccessException;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand All @@ -30,9 +28,7 @@
import java.util.List;
import java.util.Optional;
import java.util.Random;
import java.util.concurrent.TimeUnit;

import static store.itpick.backend.common.response.status.BaseExceptionResponseStatus.*;
import static store.itpick.backend.common.response.status.BaseExceptionResponseStatus.*;
import static store.itpick.backend.common.response.status.BaseExceptionResponseStatus.INVALID_TOKEN;

Expand Down
7 changes: 0 additions & 7 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ spring:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
h2:
console:
enabled: true
mail:
host: smtp.gmail.com
port: 587
Expand Down Expand Up @@ -107,10 +104,6 @@ spring:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
h2:
console:
enabled: true


---

Expand Down

0 comments on commit 69a788f

Please sign in to comment.