Skip to content

Commit 7746cdc

Browse files
fixed checkstyle errors
1 parent b3f89f6 commit 7746cdc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/java/telegram/bot/services/MessageService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ private String formatStatisticMessage(String usernameGitHub,
6262
basicStatistic.getMetricsRepositories().getStargazerCount()
6363
);
6464
}
65-
}
65+
}

src/main/java/telegram/bot/services/UpdateService.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ public void consume(Update updates) {
4040
var message = updates.getMessage().getText();
4141

4242
try {
43-
telegramClient.execute(getMessage(chatId, messageService.generateMessage(message, gitHubService)));
43+
telegramClient.execute(getMessage(chatId, messageService
44+
.generateMessage(message, gitHubService)));
4445
} catch (GitHubAPIException ex) {
45-
telegramClient.execute(getMessage(chatId, markdownV2Util.escapeMarkdownV2(ERROR_MESSAGE.getMessage())));
46+
telegramClient.execute(getMessage(chatId, markdownV2Util
47+
.escapeMarkdownV2(ERROR_MESSAGE.getMessage())));
4648
}
4749

4850
}

0 commit comments

Comments
 (0)