Skip to content

Commit 6193354

Browse files
WeltraumschafManuelNeuer
authored andcommitted
#36 Move getter to class bc all fields have getter and add toString for better debugging
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent ca09333 commit 6193354

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/main/java/io/securecodebox/persistence/defectdojo/config/DefectDojoConfig.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,28 @@
77

88
import lombok.AllArgsConstructor;
99
import lombok.Getter;
10+
import lombok.ToString;
1011

1112
import java.util.Optional;
1213

14+
@Getter
15+
@ToString
1316
@AllArgsConstructor
1417
public class DefectDojoConfig {
15-
@Getter
1618
private final String url;
1719

18-
@Getter
1920
private final String apiKey;
2021

21-
@Getter
2222
private final String username;
2323

2424
/**
2525
* Determines how many apiPages of Objects are fetched before giving up and failing to avoid outOfMemory scenarios.
2626
*/
27-
@Getter
2827
private final int maxPageCountForGets;
2928

3029
/**
3130
* If not null, the id should be used instead of the username.
3231
*/
33-
@Getter
3432
private final Long userId;
3533

3634
public DefectDojoConfig(String url, String apiKey, String username, int maxPageCountForGets) {

0 commit comments

Comments
 (0)