diff --git a/src/main/java/io/gaia_app/config/security/oauth2/OAuth2SuccessHandler.kt b/src/main/java/io/gaia_app/config/security/oauth2/OAuth2SuccessHandler.kt index a41c687c..65c1398f 100644 --- a/src/main/java/io/gaia_app/config/security/oauth2/OAuth2SuccessHandler.kt +++ b/src/main/java/io/gaia_app/config/security/oauth2/OAuth2SuccessHandler.kt @@ -33,7 +33,7 @@ class OAuth2SuccessHandler( user.oAuth2User = getOAuth2User(authentication as OAuth2AuthenticationToken) userRepository.save(user) - response.sendRedirect("/"); + response.sendRedirect("/") } private fun getOAuth2User(authentication: OAuth2AuthenticationToken): OAuth2User? { diff --git a/src/main/java/io/gaia_app/modules/bo/Output.kt b/src/main/java/io/gaia_app/modules/bo/Output.kt index bbb4a9e4..fce37e9c 100644 --- a/src/main/java/io/gaia_app/modules/bo/Output.kt +++ b/src/main/java/io/gaia_app/modules/bo/Output.kt @@ -7,4 +7,4 @@ data class Output( var name: String = "", var value: String = "", var description: String = "", - var sensitive: String = "false"); + var sensitive: String = "false") diff --git a/src/main/java/io/gaia_app/registries/RegistryRawContent.kt b/src/main/java/io/gaia_app/registries/RegistryRawContent.kt index 3c1c0e70..7fde8c5c 100644 --- a/src/main/java/io/gaia_app/registries/RegistryRawContent.kt +++ b/src/main/java/io/gaia_app/registries/RegistryRawContent.kt @@ -17,7 +17,7 @@ abstract class RegistryRawContent(private val registryType: RegistryType, privat // no project details, impossible to load a readme, so returning empty module.registryDetails ?: return Optional.empty() - val token = module.moduleMetadata.createdBy?.oAuth2User?.token; + val token = module.moduleMetadata.createdBy?.oAuth2User?.token val headers = HttpHeaders() if (token != null) { diff --git a/src/main/java/io/gaia_app/stacks/service/StateService.kt b/src/main/java/io/gaia_app/stacks/service/StateService.kt index 04005faf..fc68dcaa 100644 --- a/src/main/java/io/gaia_app/stacks/service/StateService.kt +++ b/src/main/java/io/gaia_app/stacks/service/StateService.kt @@ -46,7 +46,7 @@ class EncryptedStateServiceImpl( override fun findById(id: String): Optional { val state = this.terraformStateRepository.findById(id) return state.map { - val decrypted = encryptionService.decrypt(it.value["encrypted"] as String); + val decrypted = encryptionService.decrypt(it.value["encrypted"] as String) it.value = objectMapper.readValue(decrypted) it }