src/main/kotlin/de/uapcore/lightpit/types/WebColor.kt

changeset 209
c9c6abf167c7
parent 184
e8eecee6aadf
     1.1 --- a/src/main/kotlin/de/uapcore/lightpit/types/WebColor.kt	Tue Aug 03 12:22:10 2021 +0200
     1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/types/WebColor.kt	Tue Aug 03 13:41:32 2021 +0200
     1.3 @@ -35,7 +35,7 @@
     1.4      /**
     1.5       * The color representation with the leading hash symbol.
     1.6       */
     1.7 -    val color: String = (if (arg.startsWith("#")) arg else "#$arg").toUpperCase()
     1.8 +    val color: String = (if (arg.startsWith("#")) arg else "#$arg").uppercase()
     1.9  
    1.10      /**
    1.11       * The hex representation without the leading hash symbol.

mercurial