Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust lombok annotations to reduce build warnings #5021

Merged
merged 5 commits into from Jan 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -25,7 +25,6 @@
import java.util.Objects;

import lombok.Getter;
import lombok.Setter;

import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
Expand All @@ -38,7 +37,6 @@
*/
@Immutable
@Getter
@Setter
public class TxOutput extends BaseTxOutput implements PersistablePayload, ImmutableDaoStateModel {
public static TxOutput fromTempOutput(TempTxOutput tempTxOutput) {
return new TxOutput(tempTxOutput.getIndex(),
Expand Down
Expand Up @@ -21,11 +21,11 @@
import bisq.common.app.Version;
import bisq.common.proto.network.NetworkEnvelope;

import lombok.EqualsAndHashCode;
import lombok.Value;
import lombok.Getter;
import lombok.ToString;

@Value
@EqualsAndHashCode(callSuper = false)
ghubstan marked this conversation as resolved.
Show resolved Hide resolved
@Getter
@ToString
public class GetInventoryRequest extends NetworkEnvelope {
private final String version;

Expand Down
Expand Up @@ -28,11 +28,11 @@
import java.util.HashMap;
import java.util.Map;

import lombok.EqualsAndHashCode;
import lombok.Value;
import lombok.Getter;
import lombok.ToString;

@Value
@EqualsAndHashCode(callSuper = false)
ghubstan marked this conversation as resolved.
Show resolved Hide resolved
@Getter
@ToString
public class GetInventoryResponse extends NetworkEnvelope {
private final Map<InventoryItem, String> inventory;

Expand Down