From aac40bcd5a03007488059664cce753710e05ed3f Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 4 Jul 2019 14:56:16 +0200 Subject: [PATCH] find-bugs --- findbugs-excludes.xml | 4 ++-- .../gui/service/i18n/impl/PolyglotPageServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/findbugs-excludes.xml b/findbugs-excludes.xml index 2b795fc9..e368a351 100644 --- a/findbugs-excludes.xml +++ b/findbugs-excludes.xml @@ -12,8 +12,8 @@ - - + + \ No newline at end of file diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/i18n/impl/PolyglotPageServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/i18n/impl/PolyglotPageServiceImpl.java index 6da4cfa4..b7c77074 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/i18n/impl/PolyglotPageServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/i18n/impl/PolyglotPageServiceImpl.java @@ -195,7 +195,7 @@ public final class PolyglotPageServiceImpl implements PolyglotPageService { .getLanguage() .equals(locale.getLanguage()))); languageSelection.setData(RWT.CUSTOM_VARIANT, "header"); - languageSelection.setText("| " + locale.getLanguage().toUpperCase()); + languageSelection.setText("| " + locale.getLanguage().toUpperCase(locale)); languageSelection.addListener(SWT.MouseDown, event -> { this.setPageLocale(composerCtx.getRoot(), locale); });