diff --git a/detekt.yml b/detekt.yml index 5a926cb..230ff0c 100644 --- a/detekt.yml +++ b/detekt.yml @@ -3,7 +3,7 @@ config: warningsAsErrors: false build: - maxIssues: 50 + maxIssues: 100 console-reports: active: true \ No newline at end of file diff --git a/src/main/kotlin/com/albatros/springsecurity/data/model/database/Tender.kt b/src/main/kotlin/com/albatros/springsecurity/data/model/database/Tender.kt index 2fc1f5a..f27f0c7 100644 --- a/src/main/kotlin/com/albatros/springsecurity/data/model/database/Tender.kt +++ b/src/main/kotlin/com/albatros/springsecurity/data/model/database/Tender.kt @@ -5,7 +5,6 @@ import org.springframework.data.annotation.Id import org.springframework.data.elasticsearch.annotations.Document import org.springframework.data.elasticsearch.annotations.Field import org.springframework.data.elasticsearch.annotations.FieldType -import org.springframework.validation.annotation.Validated @Document(indexName = "tenders", createIndex = true) class Tender( diff --git a/src/main/kotlin/com/albatros/springsecurity/data/model/database/TenderProvider.kt b/src/main/kotlin/com/albatros/springsecurity/data/model/database/TenderProvider.kt index 76d8bd8..2252ed5 100644 --- a/src/main/kotlin/com/albatros/springsecurity/data/model/database/TenderProvider.kt +++ b/src/main/kotlin/com/albatros/springsecurity/data/model/database/TenderProvider.kt @@ -2,9 +2,6 @@ package com.albatros.springsecurity.data.model.database import com.albatros.springsecurity.data.model.dto.TenderProviderDto import jakarta.persistence.Entity -import jakarta.persistence.GeneratedValue -import jakarta.persistence.GenerationType -import jakarta.persistence.Id import org.springframework.validation.annotation.Validated @Entity