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

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

mercurial