diff --git a/samples/exposed-spring/src/main/kotlin/SpringApplication.kt b/samples/exposed-spring/src/main/kotlin/SpringApplication.kt index 893ae0bd16..feac785aef 100644 --- a/samples/exposed-spring/src/main/kotlin/SpringApplication.kt +++ b/samples/exposed-spring/src/main/kotlin/SpringApplication.kt @@ -1,3 +1,5 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring import org.jetbrains.exposed.spring.autoconfigure.ExposedAutoConfiguration diff --git a/samples/exposed-spring/src/main/kotlin/controller/UserController.kt b/samples/exposed-spring/src/main/kotlin/controller/UserController.kt index f491f32894..1562ae0a1a 100644 --- a/samples/exposed-spring/src/main/kotlin/controller/UserController.kt +++ b/samples/exposed-spring/src/main/kotlin/controller/UserController.kt @@ -1,3 +1,5 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring.controller import org.jetbrains.exposed.samples.spring.domain.UserId diff --git a/samples/exposed-spring/src/main/kotlin/domain/User.kt b/samples/exposed-spring/src/main/kotlin/domain/User.kt index 56480030e0..a0ddd712df 100644 --- a/samples/exposed-spring/src/main/kotlin/domain/User.kt +++ b/samples/exposed-spring/src/main/kotlin/domain/User.kt @@ -1,9 +1,11 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring.domain data class User( val id: UserId, val name: String, - val age : Int, + val age: Int, ) @JvmInline diff --git a/samples/exposed-spring/src/main/kotlin/domain/UserEntity.kt b/samples/exposed-spring/src/main/kotlin/domain/UserEntity.kt index 4b1589fef5..272d2c22b1 100644 --- a/samples/exposed-spring/src/main/kotlin/domain/UserEntity.kt +++ b/samples/exposed-spring/src/main/kotlin/domain/UserEntity.kt @@ -1,3 +1,5 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring.domain import org.jetbrains.exposed.dao.id.LongIdTable diff --git a/samples/exposed-spring/src/main/kotlin/service/UserService.kt b/samples/exposed-spring/src/main/kotlin/service/UserService.kt index 99bf8f587b..385a3747de 100644 --- a/samples/exposed-spring/src/main/kotlin/service/UserService.kt +++ b/samples/exposed-spring/src/main/kotlin/service/UserService.kt @@ -1,15 +1,14 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring.service import org.jetbrains.exposed.samples.spring.domain.UserEntity import org.jetbrains.exposed.samples.spring.domain.User import org.jetbrains.exposed.samples.spring.domain.UserId -import org.jetbrains.exposed.sql.SchemaUtils import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq import org.jetbrains.exposed.sql.deleteWhere -import org.jetbrains.exposed.sql.insert import org.jetbrains.exposed.sql.insertAndGetId import org.jetbrains.exposed.sql.select -import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.update import org.springframework.stereotype.Component import org.springframework.transaction.annotation.Transactional diff --git a/samples/exposed-spring/src/main/kotlin/support/SchemaInitialize.kt b/samples/exposed-spring/src/main/kotlin/support/SchemaInitialize.kt index 40bf5ec484..9d42a3497f 100644 --- a/samples/exposed-spring/src/main/kotlin/support/SchemaInitialize.kt +++ b/samples/exposed-spring/src/main/kotlin/support/SchemaInitialize.kt @@ -1,3 +1,5 @@ +@file:Suppress("InvalidPackageDeclaration") + package org.jetbrains.exposed.samples.spring.support import org.jetbrains.exposed.sql.SchemaUtils