diff --git a/core/src/main/java/bisq/core/dao/burningman/BurningManCandidate.java b/core/src/main/java/bisq/core/dao/burningman/BurningManCandidate.java index e4eb682c6f..36476a7b4a 100644 --- a/core/src/main/java/bisq/core/dao/burningman/BurningManCandidate.java +++ b/core/src/main/java/bisq/core/dao/burningman/BurningManCandidate.java @@ -29,7 +29,7 @@ import lombok.extern.slf4j.Slf4j; @Slf4j @Getter @EqualsAndHashCode -public final class BurningManCandidate implements Comparable { +public final class BurningManCandidate { private long accumulatedCompensationAmount; private long accumulatedDecayedCompensationAmount; private long accumulatedBurnAmount; @@ -39,7 +39,6 @@ public final class BurningManCandidate implements Comparable compensationModels = new ArrayList<>(); private final List burnOutputModels = new ArrayList<>(); @@ -92,21 +91,11 @@ public final class BurningManCandidate implements Comparable new ReadOnlyObjectWrapper<>(item.getValue())); column.getStyleClass().add("first-column"); column.setCellFactory(new Callback<>() { diff --git a/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/DisputeAgentView.java b/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/DisputeAgentView.java index ff5dca4fec..62217a98d2 100644 --- a/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/DisputeAgentView.java +++ b/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/DisputeAgentView.java @@ -151,9 +151,8 @@ public abstract class DisputeAgentView extends DisputeView implements MultipleHo } private String getValidationExceptionMessage(DisputeValidation.ValidationException exception) { - Dispute dispute = exception.getDispute(); if (exception instanceof DisputeValidation.AddressException) { - return getAddressExceptionMessage(dispute); + return getAddressExceptionMessage(exception.getDispute()); } else if (exception.getMessage() != null && !exception.getMessage().isEmpty()) { return exception.getMessage(); } else {