Skip to content

Commit

Permalink
Bump com.diffplug.spotless from 6.12.0 to 6.13.0 (#166)
Browse files Browse the repository at this point in the history
* Bump com.diffplug.spotless from 6.12.0 to 6.13.0

Bumps com.diffplug.spotless from 6.12.0 to 6.13.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Spotless violations from ktlint

New default behaviour: pinterest/ktlint#1670

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Valery Yatsynovich <valery_yatsynovich@epam.com>
  • Loading branch information
dependabot[bot] and valfirst committed Jan 18, 2023
1 parent 8ce9f06 commit a79ab0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Expand Up @@ -4,7 +4,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.0.1"
id("io.spring.dependency-management") version "1.1.0"
id("com.diffplug.spotless") version "6.12.0"
id("com.diffplug.spotless") version "6.13.0"
id("com.bmuschko.docker-spring-boot-application") version "9.1.0"
kotlin("jvm") version "1.7.22"
kotlin("plugin.spring") version "1.7.22"
Expand Down
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 a79ab0f

Please sign in to comment.