diff --git a/src/main/java/org/gecko/model/Variable.java b/src/main/java/org/gecko/model/Variable.java index 584f456a..abed6fce 100644 --- a/src/main/java/org/gecko/model/Variable.java +++ b/src/main/java/org/gecko/model/Variable.java @@ -4,7 +4,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -import java.util.Set; import lombok.Getter; import lombok.NonNull; import lombok.Setter; diff --git a/src/main/java/org/gecko/view/inspector/element/container/InspectorTypeLabel.java b/src/main/java/org/gecko/view/inspector/element/container/InspectorTypeLabel.java index 6e4c2270..aac89f10 100644 --- a/src/main/java/org/gecko/view/inspector/element/container/InspectorTypeLabel.java +++ b/src/main/java/org/gecko/view/inspector/element/container/InspectorTypeLabel.java @@ -2,8 +2,8 @@ import org.gecko.actions.ActionManager; import org.gecko.view.ResourceHandler; -import org.gecko.view.inspector.element.label.InspectorLabel; import org.gecko.view.inspector.element.combobox.InspectorTypeComboBox; +import org.gecko.view.inspector.element.label.InspectorLabel; import org.gecko.viewmodel.PortViewModel; /** diff --git a/src/main/java/org/gecko/view/inspector/element/container/InspectorVariableField.java b/src/main/java/org/gecko/view/inspector/element/container/InspectorVariableField.java index f3e0241e..2bf841fd 100644 --- a/src/main/java/org/gecko/view/inspector/element/container/InspectorVariableField.java +++ b/src/main/java/org/gecko/view/inspector/element/container/InspectorVariableField.java @@ -8,9 +8,9 @@ import org.gecko.view.ResourceHandler; import org.gecko.view.inspector.element.InspectorElement; import org.gecko.view.inspector.element.button.InspectorRemoveVariableButton; +import org.gecko.view.inspector.element.combobox.InspectorTypeComboBox; import org.gecko.view.inspector.element.label.InspectorLabel; import org.gecko.view.inspector.element.textfield.InspectorRenameField; -import org.gecko.view.inspector.element.combobox.InspectorTypeComboBox; import org.gecko.viewmodel.PortViewModel; /** diff --git a/src/main/java/org/gecko/view/inspector/element/list/InspectorVariableList.java b/src/main/java/org/gecko/view/inspector/element/list/InspectorVariableList.java index 3407bac1..9cc9eb6c 100644 --- a/src/main/java/org/gecko/view/inspector/element/list/InspectorVariableList.java +++ b/src/main/java/org/gecko/view/inspector/element/list/InspectorVariableList.java @@ -74,7 +74,7 @@ private void addPortItem(PortViewModel port) { getItems().add(field); } - private void removePortItem(PortViewModel port) { + private void removePortItem(PortViewModel port) { getItems().removeIf(field -> field.getViewModel().equals(port)); }