Skip to content

Commit 6d6d4c5

Browse files
committed
optimize imports
1 parent 11a35b3 commit 6d6d4c5

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

profile/src/main/java/com/example/research/profile/config/ProfileDatabaseConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.springframework.transaction.annotation.EnableTransactionManagement;
1616

1717
import javax.persistence.EntityManagerFactory;
18-
import javax.sql.DataSource;
1918

2019
@Configuration
2120
@EnableTransactionManagement

profile/src/main/java/com/example/research/profile/entity/cache/Profile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.example.research.profile.entity.cache;
22

3-
import com.example.research.profile.entity.command.UpdateProfileCommand;
43
import com.example.research.profile.entity.command.CreateProfileCommand;
4+
import com.example.research.profile.entity.command.UpdateProfileCommand;
55
import com.example.research.profile.entity.storage.ProfileEvent;
66

77
import org.springframework.data.annotation.Id;

profile/src/main/java/com/example/research/profile/entity/cache/ProfileRepository.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import org.springframework.data.redis.core.ReactiveRedisOperations;
55
import org.springframework.stereotype.Component;
66

7-
import java.util.UUID;
8-
97
import reactor.core.publisher.Flux;
108
import reactor.core.publisher.Mono;
119

profile/src/main/java/com/example/research/profile/entity/storage/Profile.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.example.research.profile.entity.storage;
22

33
import com.example.research.profile.entity.command.CreateProfileCommand;
4-
import com.example.research.profile.v1.profile.ProfileSaveRequest;
54

65
import org.springframework.data.annotation.CreatedDate;
76
import org.springframework.data.annotation.LastModifiedDate;

profile/src/main/java/com/example/research/profile/entity/storage/Tag.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.example.research.profile.entity.storage;
22

33
import org.springframework.data.annotation.CreatedDate;
4-
5-
import javax.persistence.Id;
6-
74
import org.springframework.data.annotation.LastModifiedDate;
85

96
import java.time.LocalDateTime;
@@ -12,6 +9,7 @@
129
import javax.persistence.Entity;
1310
import javax.persistence.GeneratedValue;
1411
import javax.persistence.GenerationType;
12+
import javax.persistence.Id;
1513
import javax.persistence.Table;
1614

1715
import lombok.AllArgsConstructor;

0 commit comments

Comments
 (0)