find-bugs

This commit is contained in:
anhefti 2019-07-04 14:56:16 +02:00
parent 4ff1556e00
commit aac40bcd5a
2 changed files with 3 additions and 3 deletions

View file

@ -12,8 +12,8 @@
<Package name="ch.ethz.seb.sebserver.webservice.datalayer.batis.model"/>
</Match>
<Match>
<Class name="ch.ethz.seb.sebserver.gui.widget.*" />
<Bug type="SE_BAD_FIELD" />
<Class name="ch.ethz.seb.sebserver.gui.widget.MultiSelectionCombo" />
<Bug pattern="SE_BAD_FIELD" />
</Match>
</FindBugsFilter>

View file

@ -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);
});