style: スタイルを調整

This commit is contained in:
usbharu 2023-09-30 13:51:55 +09:00
parent c9eaf899d5
commit a0c24f98bd
4 changed files with 0 additions and 4 deletions

View File

@ -12,7 +12,6 @@ class ReactionRepositoryImpl(
private val idGenerateService: IdGenerateService
) : ReactionRepository {
override suspend fun save(reaction: Reaction): Reaction {
if (Reactions.select { Reactions.id eq reaction.id }.empty()) {
Reactions.insert {

View File

@ -28,7 +28,6 @@ import org.springframework.security.oauth2.server.authorization.client.Registere
@Repository
class RegisteredClientRepositoryImpl : RegisteredClientRepository {
override fun save(registeredClient: SpringRegisteredClient?) {
requireNotNull(registeredClient)
val singleOrNull = RegisteredClient.select { RegisteredClient.id eq registeredClient.id }.singleOrNull()

View File

@ -31,7 +31,6 @@ class ExposedOAuth2AuthorizationService(
) :
OAuth2AuthorizationService {
@Suppress("LongMethod", "CyclomaticComplexMethod")
override fun save(authorization: OAuth2Authorization?): Unit = runBlocking {
requireNotNull(authorization)

View File

@ -10,5 +10,4 @@ interface UserAuthService {
suspend fun usernameAlreadyUse(username: String): Boolean
suspend fun generateKeyPair(): KeyPair
}