Skip to content

Commit 5681c9e

Browse files
committed
ignored -> _
1 parent 6ac3f0c commit 5681c9e

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
@@ -84,9 +84,9 @@ private void handleHelpThreadCreated(ThreadChannel threadChannel) {
8484
threadChannel.retrieveStartMessage().flatMap(message -> {
8585
registerThreadDataInDB(message, threadChannel);
8686
return sendHelperHeadsUp(threadChannel)
87-
.flatMap(any -> HelpThreadCreatedListener.isContextSufficient(message),
88-
any -> createAIResponse(threadChannel, message))
89-
.flatMap(any -> pinOriginalQuestion(message));
87+
.flatMap(_ -> HelpThreadCreatedListener.isContextSufficient(message),
88+
_ -> createAIResponse(threadChannel, message))
89+
.flatMap(_ -> pinOriginalQuestion(message));
9090
}).queue();
9191
}
9292

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)