Upgraded to Kotlin 1.5.31 and JDK 17.
This commit is contained in:
parent
3dd75fa575
commit
2cd3b9cd61
16 changed files with 514 additions and 347 deletions
|
@ -237,7 +237,7 @@ open class PinboardPoster() {
|
|||
}
|
||||
|
||||
private fun cleanEndPoint(method: String): String {
|
||||
return if (apiEndPoint.endsWith('/')) {
|
||||
return if (apiEndPoint.last() == '/') {
|
||||
"$apiEndPoint$method"
|
||||
} else {
|
||||
"$apiEndPoint/$method"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue