From cc9f416bba7c6f13adf606c86efa3e2c1c158dfa Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 15 Oct 2014 12:45:57 +0200 Subject: [PATCH] whitespace --- js/actions/api-cluster.js | 2 +- js/server/modules/org/arangodb/cluster/planner.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/actions/api-cluster.js b/js/actions/api-cluster.js index 9d547c5aed..b61d855253 100644 --- a/js/actions/api-cluster.js +++ b/js/actions/api-cluster.js @@ -567,7 +567,7 @@ actions.defineHttp({ return; } try { - var r = internal.testPort("tcp://0.0.0.0:"+port); + var r = internal.testPort("tcp://0.0.0.0:" + port); res.responseCode = actions.HTTP_OK; res.contentType = "application/json; charset=utf-8"; res.body = JSON.stringify(r); diff --git a/js/server/modules/org/arangodb/cluster/planner.js b/js/server/modules/org/arangodb/cluster/planner.js index f5fe2be28e..d2524d8b55 100644 --- a/js/server/modules/org/arangodb/cluster/planner.js +++ b/js/server/modules/org/arangodb/cluster/planner.js @@ -140,10 +140,10 @@ PortFinder.prototype.next = function () { } } // Check that port is available: - if (!this.dispatcher.avoidPorts.hasOwnProperty(this.port)) { + if (! this.dispatcher.avoidPorts.hasOwnProperty(this.port)) { var available = true; if (this.dispatcher.endpoint === "tcp://localhost:") { - available = testPort("tcp://0.0.0.0:"+this.port); + available = testPort("tcp://0.0.0.0:" + this.port); } else { var url = endpointToURL(this.dispatcher.endpoint) +