aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/ComboBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/ComboBox.java')
-rw-r--r--server/src/com/vaadin/ui/ComboBox.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/ComboBox.java b/server/src/com/vaadin/ui/ComboBox.java
index c2b80fae35..4af93113f9 100644
--- a/server/src/com/vaadin/ui/ComboBox.java
+++ b/server/src/com/vaadin/ui/ComboBox.java
@@ -622,7 +622,7 @@ public class ComboBox extends AbstractSelect implements
if (caption == null || caption.equals("")) {
continue;
} else {
- caption = caption.toLowerCase();
+ caption = caption.toLowerCase(getLocale());
}
switch (filteringMode) {
case CONTAINS:
@@ -682,7 +682,7 @@ public class ComboBox extends AbstractSelect implements
currentPage = ((Integer) variables.get("page")).intValue();
filterstring = newFilter;
if (filterstring != null) {
- filterstring = filterstring.toLowerCase();
+ filterstring = filterstring.toLowerCase(getLocale());
}
requestRepaint();
} else if (isNewItemsAllowed()) {