Skip to content

Commit

Permalink
♻ : remove redundant semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Sep 17, 2021
1 parent be3273b commit da4c98e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/gaia_app/modules/bo/Output.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ data class Output(
var name: String = "",
var value: String = "",
var description: String = "",
var sensitive: String = "false");
var sensitive: String = "false")
2 changes: 1 addition & 1 deletion src/main/java/io/gaia_app/registries/RegistryRawContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/gaia_app/stacks/service/StateService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class EncryptedStateServiceImpl(
override fun findById(id: String): Optional<TerraformState> {
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
}
Expand Down

0 comments on commit da4c98e

Please sign in to comment.