Fix checkstyle violations in HttpExporter*.java
Two files had out-of-order @Nullable clauses and one had an invalid license header Original commit: elastic/x-pack-elasticsearch@8057871b18
This commit is contained in:
parent
c41550d36a
commit
52f23afb4b
|
@ -120,7 +120,8 @@ public class HttpExporter extends Exporter {
|
|||
/**
|
||||
* Headers supplied by the user to send (likely to a proxy for routing).
|
||||
*/
|
||||
private final @Nullable Map<String, String[]> headers;
|
||||
@Nullable
|
||||
private final Map<String, String[]> headers;
|
||||
|
||||
volatile boolean checkedAndUploadedIndexTemplate = false;
|
||||
volatile boolean supportedClusterVersion = false;
|
||||
|
|
|
@ -94,7 +94,7 @@ public class HttpExporterTests extends MonitoringIntegTestCase {
|
|||
assertMonitorTemplates(null);
|
||||
}
|
||||
|
||||
private void assertMonitorTemplates(final @Nullable Map<String, String[]> customHeaders) throws InterruptedException {
|
||||
private void assertMonitorTemplates(@Nullable final Map<String, String[]> customHeaders) throws InterruptedException {
|
||||
RecordedRequest request;
|
||||
|
||||
for (Map.Entry<String, String> template : monitoringTemplates().entrySet()) {
|
||||
|
|
Loading…
Reference in New Issue