Skip to content

Commit 5bef02b

Browse files
committed
Use unnamed variable
1 parent da9e242 commit 5bef02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/trino-main/src/main/java/io/trino/event/QueryMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public void queryCreatedEvent(BasicQueryInfo queryInfo)
182182

183183
public void queryImmediateFailureEvent(BasicQueryInfo queryInfo, ExecutionFailureInfo failure)
184184
{
185-
eventListenerManager.queryCompleted(requiresAnonymizedPlan -> new QueryCompletedEvent(
185+
eventListenerManager.queryCompleted(_ -> new QueryCompletedEvent(
186186
new QueryMetadata(
187187
queryInfo.getQueryId().toString(),
188188
queryInfo.getSession().getTransactionId().map(TransactionId::toString),

0 commit comments

Comments
 (0)