Skip to content

Commit

Permalink
Fix Spotless violations from ktlint
Browse files Browse the repository at this point in the history
New default behaviour: pinterest/ktlint#1670
  • Loading branch information
valfirst committed Jan 18, 2023
1 parent 0457ca1 commit 0c10f30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/vividus/testsite/api/PageController.kt
Expand Up @@ -11,13 +11,13 @@ import org.springframework.web.bind.annotation.RequestParam

@Controller()
class PageController @Autowired constructor(
private val resourceLoader: ResourceLoader
private val resourceLoader: ResourceLoader,
) {
@GetMapping("/delayedLoading")
fun delayedLoading(
model: Model,
@RequestParam(required = false, defaultValue = "0") pageTimeout: Long,
@RequestParam(required = false, defaultValue = "0") imageTimeout: Long
@RequestParam(required = false, defaultValue = "0") imageTimeout: Long,
): String {
sleepFor(pageTimeout)
model["pageTimeout"] = pageTimeout
Expand Down
Expand Up @@ -18,7 +18,7 @@ class WebSocketConfiguration : WebSocketConfigurer {
session.sendMessage(message)
}
},
"/echo"
"/echo",
)
}
}

0 comments on commit 0c10f30

Please sign in to comment.