Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dojinyou committed Oct 7, 2023
1 parent 5aefdfc commit 4d1e846
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import com.epages.restdocs.apispec.gradle.OpenApi3Task
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jooq.meta.jaxb.Logging
import java.io.FileInputStream
import java.util.*
import java.util.Properties

plugins {
id("org.springframework.boot")
Expand Down Expand Up @@ -205,7 +205,7 @@ tasks.jacocoTestCoverageVerification {
"com.mjucow.eatda.EatdaApplicationKt",
"*.common.*",
"*.dto.*",
"*.tables.*",
"*.tables.*"
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,4 @@ class JooqContextConfiguration(
private fun <R : Record?, E : Any?> getEntityRecordMapper(type: Class<out E>): RecordMapper<R, E> {
return RecordMapper<R, E> { objectMapper.convertValue(it!!.intoMap(), type) }
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class StoreQueryService(
return if (categoryId == null) {
repository.findAllByIdLessThanOrderByIdDesc(page, id).map(StoreDto::from)
} else {
//FIXME(cache): store 캐시 처리 이후 store 조회 개선하기
// FIXME(cache): store 캐시 처리 이후 store 조회 개선하기
val storeIds = repository.findIdsByCategoryIdOrderByIdDesc(categoryId, page, id)
val stores = repository.findAllByIdInOrderByIdDesc(storeIds.content).map(StoreDto::from)
SliceImpl(stores, page, storeIds.hasNext())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ import java.util.stream.IntStream
class StoreCustomRepositoryImplTest : AbstractDataTest() {
@Autowired
lateinit var storeCustomRepositoryImpl: StoreCustomRepositoryImpl

@Autowired
lateinit var categoryRepository: CategoryRepository

@Autowired
lateinit var storeRepository: StoreRepository

Expand Down

0 comments on commit 4d1e846

Please sign in to comment.