SEBSERV-291 fixed

This commit is contained in:
anhefti 2022-04-11 17:15:23 +02:00
parent 6fe11287f4
commit 554be43828
2 changed files with 9 additions and 5 deletions

View file

@ -18,7 +18,7 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<sebserver-version>1.3.1-SNAPSHOT</sebserver-version> <sebserver-version>1.3.3-SNAPSHOT</sebserver-version>
<build-version>${sebserver-version}</build-version> <build-version>${sebserver-version}</build-version>
<revision>${sebserver-version}</revision> <revision>${sebserver-version}</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View file

@ -82,10 +82,14 @@ public final class MultiSelectionCheckbox extends Composite implements Selection
WidgetFactory.setARIALabel(button, tuple._2); WidgetFactory.setARIALabel(button, tuple._2);
this.checkboxes.put(tuple._1, button); this.checkboxes.put(tuple._1, button);
@SuppressWarnings("unchecked") try {
final Tuple3<String> tuple3 = tuple.adaptTo(Tuple3.class); @SuppressWarnings("unchecked")
if (tuple3 != null && StringUtils.isNotBlank(tuple3._3)) { final Tuple3<String> tuple3 = tuple.adaptTo(Tuple3.class);
button.setToolTipText(tuple3._3); if (tuple3 != null && StringUtils.isNotBlank(tuple3._3)) {
button.setToolTipText(tuple3._3);
}
} catch (final Exception e) {
// ignore
} }
} }