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"/> <Package name="ch.ethz.seb.sebserver.webservice.datalayer.batis.model"/>
</Match> </Match>
<Match> <Match>
<Class name="ch.ethz.seb.sebserver.gui.widget.*" /> <Class name="ch.ethz.seb.sebserver.gui.widget.MultiSelectionCombo" />
<Bug type="SE_BAD_FIELD" /> <Bug pattern="SE_BAD_FIELD" />
</Match> </Match>
</FindBugsFilter> </FindBugsFilter>

View file

@ -195,7 +195,7 @@ public final class PolyglotPageServiceImpl implements PolyglotPageService {
.getLanguage() .getLanguage()
.equals(locale.getLanguage()))); .equals(locale.getLanguage())));
languageSelection.setData(RWT.CUSTOM_VARIANT, "header"); languageSelection.setData(RWT.CUSTOM_VARIANT, "header");
languageSelection.setText("| " + locale.getLanguage().toUpperCase()); languageSelection.setText("| " + locale.getLanguage().toUpperCase(locale));
languageSelection.addListener(SWT.MouseDown, event -> { languageSelection.addListener(SWT.MouseDown, event -> {
this.setPageLocale(composerCtx.getRoot(), locale); this.setPageLocale(composerCtx.getRoot(), locale);
}); });