Skip to content

Commit

Permalink
Fighting deprecation warnings in scala build
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed Apr 21, 2024
1 parent 23530b9 commit 6137fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</goals>
<configuration>
<args>
<arg>-target:jvm-17</arg>
<arg>-release:17</arg>
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-unchecked</arg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class KeycloakScenarioBuilder {
if (isRandom) {
return randomLogout()
} else {
chainBuilder = chainBuilder.exec(logout)
chainBuilder = chainBuilder.exec(logout())
}
this
}
Expand All @@ -307,7 +307,7 @@ class KeycloakScenarioBuilder {
def randomLogout(): KeycloakScenarioBuilder = {
chainBuilder = chainBuilder
.randomSwitch(
Config.logoutPercentage -> exec(logout)
Config.logoutPercentage -> exec(logout())
)
this
}
Expand Down

0 comments on commit 6137fa0

Please sign in to comment.