Skip to content

Commit d59b5f0

Browse files
committed
chore: simplify code in health check
1 parent 09e8f1f commit d59b5f0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ category: Administration
1313

1414
* feat: ensure compatibility with Jira 11.3.1
1515
* test: access static member directly
16-
* test: improve expressiveness with sequences access to results
16+
* test: improve expressiveness with sequences access to results
17+
* chore: simplify code in health check
1718

1819
### [25.12.1] - 2025-12-12
1920

src/main/java/de/codescape/jira/plugins/scrumpoker/action/ScrumPokerHealthCheckAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public List<String> getConfigurationResults() {
169169
// check that a card set is defined that can be parsed into different cards
170170
List<Card> cardSet = cardSetService.getCardSet().stream()
171171
.filter(Card::isAssignable)
172-
.collect(Collectors.toList());
172+
.toList();
173173
if (cardSet.isEmpty() || cardSet.size() == 1) {
174174
results.add(Configuration.CARD_SET_WITHOUT_OPTIONS);
175175
}

0 commit comments

Comments
 (0)