Skip to content

Commit

Permalink
style(all): apply prettier to 'fix_release_workflow'
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 19, 2024
1 parent bf64dc1 commit 535e415
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ void setUp() {

@Test
void testChangeNameThrowsNullPointerExceptionIfClientDoesNotExist() {
assertThrows(
NullPointerException.class,
() -> clientList.changeClientName("WRONG_ID", "NewName")
assertThrows(NullPointerException.class, () ->
clientList.changeClientName("WRONG_ID", "NewName")
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ private Posting rewriteTopicToIncludeMe(Posting posting) {

private void executePublish(Posting toPublish) {
HashMap<String, Subscription> subscriptionsCopy = new HashMap<>(subscriptions);
subscriptionsCopy.forEach(
(topic, subscription) -> deliverIfTopicMatches(toPublish, subscription)
subscriptionsCopy.forEach((topic, subscription) ->
deliverIfTopicMatches(toPublish, subscription)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ private void handleRequesterTwinStub(String requesterID) {
private void stopWhenDeviceGoesOffline(String requesterID) {
currentlyRequestingTwins
.get(requesterID)
.addWhenDeviceGoesOffline(
data -> dataStopRequestReceiver.deliver(new Posting("", requesterID))
.addWhenDeviceGoesOffline(data ->
dataStopRequestReceiver.deliver(new Posting("", requesterID))
);
}

Expand Down

0 comments on commit 535e415

Please sign in to comment.