## modules/fxml/src/main/java/com/sun/javafx/fxml/builder/TriangleMeshBuilder.java

Print this page

    rev 4839 : RT-2529: Locale specific runtime errors (Turkish)

    @@ -23,10 +23,11 @@
      * questions.
      */

     package com.sun.javafx.fxml.builder;

    +import java.util.Locale;
     import java.util.Map.Entry;
     import java.util.Set;
     import java.util.StringTokenizer;
     import java.util.TreeMap;
     import javafx.scene.shape.TriangleMesh;

    @@ -90,11 +91,11 @@
                 while (tokenizer.hasMoreTokens()) {
                     faceSmoothingGroups[counter++] = Integer.parseInt(tokenizer.nextToken().trim());
                 }
             }

    -        return super.put(key.toLowerCase(), value);
    +        return super.put(key.toLowerCase(Locale.ROOT), value);
         }

         @Override
         public Set<Entry<String, Object>> entrySet() {
             return super.entrySet();