com.hltech.judged.server.interfaces.rest.validation.ConsumerAndProviderDto   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A toString() 0 3 1
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