prefere standard Isabelle/Scala operation, with fixed locale;
authorwenzelm
Fri, 11 Apr 2014 19:07:56 +0200
changeset 56546 902960859c66
parent 56539 1fd920a86173
child 56547 e9bb73d7b6cf
prefere standard Isabelle/Scala operation, with fixed locale;
src/Pure/GUI/color_value.scala
--- a/src/Pure/GUI/color_value.scala	Fri Apr 11 17:53:16 2014 +0200
+++ b/src/Pure/GUI/color_value.scala	Fri Apr 11 19:07:56 2014 +0200
@@ -31,7 +31,7 @@
     val g = new java.lang.Integer(c.getGreen)
     val b = new java.lang.Integer(c.getBlue)
     val a = new java.lang.Integer(c.getAlpha)
-    String.format("%02x%02x%02x%02x", r, g, b, a).toUpperCase
+    Library.uppercase(String.format("%02x%02x%02x%02x", r, g, b, a))
   }
 
   def apply(s: String): Color =