Skip to content

Commit

Permalink
chore: Fix codacy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriytkach committed Jul 29, 2023
1 parent a935387 commit 6392740
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public SlackBlockBuilder section(final SlackText text) {
return this;
}

public SlackBlockBuilder section(List<SlackText> fields) {
public SlackBlockBuilder section(final List<SlackText> fields) {
this.type = TYPE_SECTION;
this.fields = fields;
return this;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.yuriytkach.tracker.fundraiser.model.slack;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

@Data
Expand All @@ -12,9 +14,11 @@ public class SlackImageBlock implements Block {

private final String type = TYPE_IMAGE;

private final String image_url;
@JsonProperty("image_url")
private final String imageUrl;

private final String alt_text;
@JsonProperty("alt_text")
private final String altText;

private final SlackImageTitle title;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,5 @@ public SlackTextBuilder markdownText(final String text) {
this.text = text;
return this;
}

private SlackTextBuilder emoji(final Boolean emoji) {
this.emoji = emoji;
return this;
}

private SlackTextBuilder type(final String type) {
this.type = type;
return this;
}

private SlackTextBuilder text(final String text) {
this.text = text;
return this;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@Slf4j
@QuarkusTest
@QuarkusTestResource(DynamoDbTestResource.class)
public class DynamoDbFundStorageClientTest extends AbstractFundOperationsTestCommon {
class DynamoDbFundStorageClientTest extends AbstractFundOperationsTestCommon {

private static final String OTHER_ACCOUNT_ID = "some-other-account-id";

Expand Down

0 comments on commit 6392740

Please sign in to comment.