Skip to content

Commit

Permalink
Suppress Kotlin code sample warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Oct 30, 2024
1 parent f427ac3 commit f4b3520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import org.springframework.web.filter.reactive.UrlHandlerFilter

class UrlHandlerFilterConfiguration {

@Suppress("UNUSED_VARIABLE")
fun configureUrlHandlerFilter() {
// tag::config[]
val urlHandlerFilter = UrlHandlerFilter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import org.springframework.web.filter.UrlHandlerFilter

class UrlHandlerFilterConfiguration {

@Suppress("UNUSED_VARIABLE")
fun configureUrlHandlerFilter() {
// tag::config[]
val urlHandlerFilter = UrlHandlerFilter
Expand Down

0 comments on commit f4b3520

Please sign in to comment.