Skip to content

Commit

Permalink
chore: Fix ktlint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed Nov 2, 2021
1 parent fcce53b commit 194d3a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/jitsi/jibri/selenium/JibriSelenium.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ data class CallParams(
override fun toString(): String {
return if (passcode.isNullOrEmpty()) {
"CallParams(callUrlInfo=$callUrlInfo, email='$email', passcode=$passcode" +
", callStatsUsernameOverride=$callStatsUsernameOverride, displayName=$displayName)"
", callStatsUsernameOverride=$callStatsUsernameOverride, displayName=$displayName)"
} else {
"CallParams(callUrlInfo=$callUrlInfo, email='$email', passcode=*****" +
", callStatsUsernameOverride=$callStatsUsernameOverride, displayName=$displayName)"
", callStatsUsernameOverride=$callStatsUsernameOverride, displayName=$displayName)"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ class FileRecordingJibriService(
registerSubComponent(FfmpegCapturer.COMPONENT_ID, this.capturer)

jibriServiceFinalizer = JibriServiceFinalizeCommandRunner(
processFactory, listOf(
processFactory,
listOf(
finalizeScriptPath,
sessionRecordingDirectory.toString()
)
Expand Down Expand Up @@ -202,7 +203,7 @@ class FileRecordingJibriService(
} catch (t: Throwable) {
logger.error(
"An error occurred while trying to get the participants list, proceeding with " +
"an empty participants list",
"an empty participants list",
t
)
listOf<Map<String, Any>>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ class PjsuaClient(
) {
command.add(
"--id=${pjsuaClientParams.sipClientParams.displayName} " +
"<$sipScheme:${pjsuaClientParams.sipClientParams.userName}>"
"<$sipScheme:${pjsuaClientParams.sipClientParams.userName}>"
)
command.add(
"--registrar=$sipScheme:${
pjsuaClientParams.sipClientParams.userName.substringAfter('@')
pjsuaClientParams.sipClientParams.userName.substringAfter('@')
}"
)
command.add("--realm=*")
Expand All @@ -109,7 +109,7 @@ class PjsuaClient(
if (pjsuaClientParams.sipClientParams.userName != null) {
command.add(
"--proxy=$sipScheme:${pjsuaClientParams.sipClientParams.userName.substringAfter('@')};" +
"transport=tcp;hide"
"transport=tcp;hide"
)
}

Expand Down

0 comments on commit 194d3a5

Please sign in to comment.