fix line len

Original commit: elastic/x-pack-elasticsearch@15d060560b
This commit is contained in:
Simon Willnauer 2017-01-16 21:17:22 +01:00
parent 6ebeaae972
commit 9e1f81d1e4
2 changed files with 4 additions and 2 deletions

View File

@ -476,7 +476,8 @@ public class XPackPlugin extends Plugin implements ScriptPlugin, ActionPlugin, I
CircuitBreakerService circuitBreakerService, CircuitBreakerService circuitBreakerService,
NamedWriteableRegistry namedWriteableRegistry, NamedWriteableRegistry namedWriteableRegistry,
NamedXContentRegistry xContentRegistry, NamedXContentRegistry xContentRegistry,
NetworkService networkService, HttpServerTransport.Dispatcher dispatcher) { NetworkService networkService,
HttpServerTransport.Dispatcher dispatcher) {
return security.getHttpTransports(settings, threadPool, bigArrays, circuitBreakerService, namedWriteableRegistry, xContentRegistry, return security.getHttpTransports(settings, threadPool, bigArrays, circuitBreakerService, namedWriteableRegistry, xContentRegistry,
networkService, dispatcher); networkService, dispatcher);
} }

View File

@ -724,7 +724,8 @@ public class Security implements ActionPlugin, IngestPlugin, NetworkPlugin {
CircuitBreakerService circuitBreakerService, CircuitBreakerService circuitBreakerService,
NamedWriteableRegistry namedWriteableRegistry, NamedWriteableRegistry namedWriteableRegistry,
NamedXContentRegistry xContentRegistry, NamedXContentRegistry xContentRegistry,
NetworkService networkService, HttpServerTransport.Dispatcher dispatcher) { NetworkService networkService,
HttpServerTransport.Dispatcher dispatcher) {
if (enabled == false) { // don't register anything if we are not enabled if (enabled == false) { // don't register anything if we are not enabled
return Collections.emptyMap(); return Collections.emptyMap();
} }