toString()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
c 0
b 0
f 0
cc 1
rs 10
1
package com.hltech.judged.server.interfaces.rest.validation;
2
3
import lombok.EqualsAndHashCode;
4
import lombok.Getter;
5
import lombok.RequiredArgsConstructor;
6
7
@Getter
8
@EqualsAndHashCode
9
@RequiredArgsConstructor
10
public class ConsumerAndProviderDto {
11
12
    private final String consumerName;
13
    private final String consumerVersion;
14
    private final String providerName;
15
    private final String providerVersion;
16
17
    @Override
18
    public String toString() {
19
        return this.consumerName + ':' + this.consumerVersion + "->" + this.providerName + ':' + this.providerVersion;
20
    }
21
}
22