Skip to content

Commit

Permalink
Remove double negation
Browse files Browse the repository at this point in the history
  • Loading branch information
lutovich committed Sep 18, 2018
1 parent 10c2a5b commit 79edfb7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -207,8 +207,8 @@ else if ( mode == OperationalMode.read_replica )
}
}

boolean httpAndHttpsDisabled = config.enabledHttpConnectors().isEmpty();
if ( !httpAndHttpsDisabled && config.get( MetricsSettings.neoServerEnabled ) )
boolean httpOrHttpsEnabled = !config.enabledHttpConnectors().isEmpty();
if ( httpOrHttpsEnabled && config.get( MetricsSettings.neoServerEnabled ) )
{
life.add( new ServerMetrics( registry, logService, kernelContext.dependencySatisfier() ) );
result = true;
Expand Down

0 comments on commit 79edfb7

Please sign in to comment.