fix build

This commit is contained in:
anhefti 2024-03-28 16:05:47 +01:00
parent f8d70c4ab7
commit 1657824285
2 changed files with 5 additions and 4 deletions

View file

@ -70,7 +70,7 @@
<profile>
<id>let_reporting</id>
<properties>
<java.version>17</java.version>
<java.version>1.8</java.version>
</properties>
<build>
<plugins>
@ -79,8 +79,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

View file

@ -637,7 +637,8 @@ public class EntityTable<ROW extends ModelIdAware> {
private void adaptColumnWidthChange(final Event event) {
final Widget widget = event.widget;
if (widget instanceof final TableColumn tableColumn) {
if (widget instanceof TableColumn) {
final TableColumn tableColumn = ((TableColumn) widget);
if (this.filter != null) {
this.filter.adaptColumnWidth(
this.table.indexOf(tableColumn),