Passed
Push — master ( 93a836...a92af1 )
by Tomasz
03:51
created

dev.hltech.dredd.interfaces.rest.validation.ConsumerAndProviderDto   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
c 1
b 0
f 0
wmc 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
toString 0 3 ?
A toString() 0 3 1
1
package dev.hltech.dredd.interfaces.rest.validation;
2
3
import lombok.AllArgsConstructor;
4
import lombok.EqualsAndHashCode;
5
import lombok.Getter;
6
7
@Getter
8
@EqualsAndHashCode
9
@AllArgsConstructor
10
public class ConsumerAndProviderDto {
11
12
    private String consumerName;
13
    private String consumerVersion;
14
    private String providerName;
15
    private String providerVersion;
16
17
    @Override
18
    public String toString() {
19
        return this.consumerName + ':' + this.consumerVersion + "->" + this.providerName + ':' + this.providerVersion;
20
    }
21
}
22