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:
Lee Hinman 2016-08-10 16:46:31 -06:00
parent c41550d36a
commit 52f23afb4b
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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()) {