Skip to content

Commit e9b0456

Browse files
committed
Remove unused code
1 parent 08c8ec0 commit e9b0456

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

server/src/main/java/org/elasticsearch/common/logging/HeaderWarning.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,4 @@ static void addWarning(Set<ThreadContext> threadContexts, String message, Object
426426
}
427427
}
428428
}
429-
430-
static void addRawWarning(Set<ThreadContext> threadContexts, String warningHeader) {
431-
for (ThreadContext threadContext : threadContexts) {
432-
threadContext.addResponseHeader("Warning", warningHeader);
433-
}
434-
}
435429
}

0 commit comments

Comments
 (0)