diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/util/SharedUtil.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/util/SharedUtil.java b/shared/src/com/vaadin/shared/util/SharedUtil.java index 206041235a..bc5d87b9f5 100644 --- a/shared/src/com/vaadin/shared/util/SharedUtil.java +++ b/shared/src/com/vaadin/shared/util/SharedUtil.java @@ -16,6 +16,7 @@ package com.vaadin.shared.util; import java.io.Serializable; +import java.util.Locale; /** * Misc internal utility methods used by both the server and the client package. @@ -168,7 +169,8 @@ public class SharedUtil implements Serializable { return string.toUpperCase(); } - return string.substring(0, 1).toUpperCase() + string.substring(1); + return string.substring(0, 1).toUpperCase(Locale.ENGLISH) + + string.substring(1); } /** |