mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Adjust class level annoations
as per suggested changes https://github.com/bisq-network/bisq/pull/5021#discussion_r550903787 https://github.com/bisq-network/bisq/pull/5021#discussion_r550903843 https://github.com/bisq-network/bisq/pull/5021#discussion_r550903860
This commit is contained in:
parent
0638701ca3
commit
c2c1ac2087
3 changed files with 8 additions and 10 deletions
|
@ -25,7 +25,6 @@ import bisq.common.proto.persistable.PersistablePayload;
|
|||
import java.util.Objects;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import javax.annotation.concurrent.Immutable;
|
||||
|
@ -38,7 +37,6 @@ import javax.annotation.concurrent.Immutable;
|
|||
*/
|
||||
@Immutable
|
||||
@Getter
|
||||
@Setter
|
||||
public class TxOutput extends BaseTxOutput implements PersistablePayload, ImmutableDaoStateModel {
|
||||
public static TxOutput fromTempOutput(TempTxOutput tempTxOutput) {
|
||||
return new TxOutput(tempTxOutput.getIndex(),
|
||||
|
|
|
@ -21,11 +21,11 @@ package bisq.core.network.p2p.inventory.messages;
|
|||
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)
|
||||
@Getter
|
||||
@ToString
|
||||
public class GetInventoryRequest extends NetworkEnvelope {
|
||||
private final String version;
|
||||
|
||||
|
|
|
@ -28,11 +28,11 @@ import com.google.common.base.Optional;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Value;
|
||||
import lombok.Getter;
|
||||
import lombok.ToString;
|
||||
|
||||
@Value
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Getter
|
||||
@ToString
|
||||
public class GetInventoryResponse extends NetworkEnvelope {
|
||||
private final Map<InventoryItem, String> inventory;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue