Skip to content

Commit 2f86aae

Browse files
committed
ignored -> _
1 parent 749d5a6 commit 2f86aae

File tree

3 files changed

+4
-99
lines changed

3 files changed

+4
-99
lines changed

application/src/main/java/org/togetherjava/tjbot/features/github/GitHubReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Optional<GHIssue> findIssue(int id, String targetIssueTitle) {
236236
if (issue.getTitle().equals(targetIssueTitle)) {
237237
return Optional.of(issue);
238238
}
239-
} catch (FileNotFoundException ignored) {
239+
} catch (FileNotFoundException _) {
240240
return Optional.<GHIssue>empty();
241241
} catch (IOException ex) {
242242
throw new UncheckedIOException(ex);

application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ private void handleHelpThreadCreated(ThreadChannel threadChannel) {
8585
threadChannel.retrieveStartMessage().flatMap(message -> {
8686
registerThreadDataInDB(message, threadChannel);
8787
return sendHelperHeadsUp(threadChannel)
88-
.flatMap(any -> HelpThreadCreatedListener.isContextSufficient(message),
89-
any -> createAIResponse(threadChannel, message))
90-
.flatMap(any -> pinOriginalQuestion(message));
88+
.flatMap(_ -> HelpThreadCreatedListener.isContextSufficient(message),
89+
_ -> createAIResponse(threadChannel, message))
90+
.flatMap(_ -> pinOriginalQuestion(message));
9191
}).queue();
9292
}
9393

gradlew.bat

Lines changed: 0 additions & 95 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)