From 16578242850aa5f2f285c4c82b4b2983467e3095 Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 28 Mar 2024 16:05:47 +0100 Subject: [PATCH] fix build --- pom.xml | 6 +++--- .../java/ch/ethz/seb/sebserver/gui/table/EntityTable.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 4c892260..3ce55ffd 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ let_reporting - 17 + 1.8 @@ -79,8 +79,8 @@ org.apache.maven.plugins maven-compiler-plugin - 17 - 17 + 1.8 + 1.8 diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java b/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java index c61f3d99..b24d7487 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java @@ -637,7 +637,8 @@ public class EntityTable { 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),