diff options
author | Ricki Hirner <hirner@bitfire.at> | 2021-08-22 19:27:24 +0300 |
---|---|---|
committer | Ricki Hirner <hirner@bitfire.at> | 2021-08-22 19:44:37 +0300 |
commit | 267f5952ca06a3956af8138a8b59b6a345548a4c (patch) | |
tree | 982b45a658bb7965b53a11aea509ca1397719b08 | |
parent | df0f42539ee3119b001e50b914c6a83fb65d2747 (diff) |
Kotlin lint
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | src/main/java/at/bitfire/cert4android/CertUtils.kt | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e1bc60..aca2875 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ test: pages: script: - - ./gradlew dokka + - ./gradlew dokkaHtml - mkdir public && mv build/dokka public artifacts: paths: @@ -11,7 +11,7 @@ it in your own open-source app. _This software is not affiliated to, nor has it been authorized, sponsored or otherwise approved by Google LLC. Android is a trademark of Google LLC._ -Generated KDoc: https://bitfireat.gitlab.io/cert4android/dokka/cert4android/ +Generated KDoc: https://bitfireat.gitlab.io/cert4android/dokka/html/ Discussion: https://forums.bitfire.at/category/18/libraries diff --git a/build.gradle b/build.gradle index f0244d4..7bad72f 100644 --- a/build.gradle +++ b/build.gradle @@ -52,13 +52,13 @@ android { } // TODO currently doesn't work with dokka 1.5.0, but dokka 0.10.1 doesn't work with new gradle - dokka.configuration { + /*dokka.configuration { sourceLink { url = "https://gitlab.com/bitfireAT/cert4android/tree/master/" lineSuffix = "#L" } jdkVersion = 7 - } + }*/ } dependencies { diff --git a/src/main/java/at/bitfire/cert4android/CertUtils.kt b/src/main/java/at/bitfire/cert4android/CertUtils.kt index 35b7e01..af774e0 100644 --- a/src/main/java/at/bitfire/cert4android/CertUtils.kt +++ b/src/main/java/at/bitfire/cert4android/CertUtils.kt @@ -49,7 +49,7 @@ object CertUtils { for ((idx, b) in data.withIndex()) { if (idx != 0) str.append(':') - str.append(String.format("%02x", b).toUpperCase()) + str.append(String.format("%02x", b).uppercase(Locale.ROOT)) } return str.toString() } |