1 | ||
2 | package com.jsql.model.injection.vendor.model.yaml; | |
3 | ||
4 | import org.apache.commons.lang3.StringUtils; | |
5 | ||
6 | import java.io.Serializable; | |
7 | import java.util.ArrayList; | |
8 | import java.util.Arrays; | |
9 | import java.util.List; | |
10 | import java.util.stream.Collectors; | |
11 | ||
12 | public class Fingerprint implements Serializable { | |
13 | ||
14 | private List<String> errorMessage = new ArrayList<>(); | |
15 | private String orderByErrorMessage = StringUtils.EMPTY; | |
16 | private String vendorSpecific = StringUtils.EMPTY; | |
17 | ||
18 | public List<String> getErrorMessage() { | |
19 |
1
1. getErrorMessage : replaced return value with Collections.emptyList for com/jsql/model/injection/vendor/model/yaml/Fingerprint::getErrorMessage → NO_COVERAGE |
return this.errorMessage; |
20 | } | |
21 | ||
22 | public void setErrorMessage(List<String> errorMessage) { | |
23 | this.errorMessage = errorMessage; | |
24 | } | |
25 | ||
26 | public String getOrderByErrorMessage() { | |
27 |
1
1. getOrderByErrorMessage : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Fingerprint::getOrderByErrorMessage → NO_COVERAGE |
return this.orderByErrorMessage; |
28 | } | |
29 | ||
30 | public void setOrderByErrorMessage(String orderByErrorMessage) { | |
31 | this.orderByErrorMessage = orderByErrorMessage; | |
32 | } | |
33 | | |
34 | public String getErrorMessageAsString() { | |
35 |
1
1. getErrorMessageAsString : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Fingerprint::getErrorMessageAsString → NO_COVERAGE |
return this.errorMessage.stream() |
36 | .collect( | |
37 | Collectors.joining(System.lineSeparator()) | |
38 | ); | |
39 | } | |
40 | | |
41 | public void setErrorMessageAsString(String errorMessage) { | |
42 | this.errorMessage = Arrays.asList(errorMessage.split("[\r\n]+")); | |
43 | } | |
44 | ||
45 | public String getVendorSpecific() { | |
46 |
1
1. getVendorSpecific : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Fingerprint::getVendorSpecific → NO_COVERAGE |
return vendorSpecific; |
47 | } | |
48 | ||
49 | public void setVendorSpecific(String vendorSpecific) { | |
50 | this.vendorSpecific = vendorSpecific; | |
51 | } | |
52 | } | |
Mutations | ||
19 |
1.1 |
|
27 |
1.1 |
|
35 |
1.1 |
|
46 |
1.1 |