Skip to content

Commit

Permalink
chore: fix detekte issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FullOfOrange committed Aug 10, 2023
1 parent ed24a26 commit c90a0cc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions samples/exposed-spring/src/main/kotlin/SpringApplication.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("InvalidPackageDeclaration")

package org.jetbrains.exposed.samples.spring

import org.jetbrains.exposed.spring.autoconfigure.ExposedAutoConfiguration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("InvalidPackageDeclaration")

package org.jetbrains.exposed.samples.spring.controller

import org.jetbrains.exposed.samples.spring.domain.UserId
Expand Down
4 changes: 3 additions & 1 deletion samples/exposed-spring/src/main/kotlin/domain/User.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions samples/exposed-spring/src/main/kotlin/domain/UserEntity.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("InvalidPackageDeclaration")

package org.jetbrains.exposed.samples.spring.domain

import org.jetbrains.exposed.dao.id.LongIdTable
Expand Down
5 changes: 2 additions & 3 deletions samples/exposed-spring/src/main/kotlin/service/UserService.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("InvalidPackageDeclaration")

package org.jetbrains.exposed.samples.spring.support

import org.jetbrains.exposed.sql.SchemaUtils
Expand Down

0 comments on commit c90a0cc

Please sign in to comment.