From: Robert Varga Date: Fri, 7 Jun 2019 22:44:58 +0000 (+0200) Subject: Simplify recoveryTime computation X-Git-Tag: release/neon-sr2~24 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=a2757f50df14d8e60879e6d7a567512aa74374f2;hp=a2757f50df14d8e60879e6d7a567512aa74374f2;p=controller.git Simplify recoveryTime computation Stopwatch.stop() returns self, take advantage of that to shorted the code to compute the formatting string. Also drop toString() call, as it is implied by string concat. Change-Id: I4fa645e42fc38b5f9f0775d986fd17aa693725b1 Signed-off-by: Robert Varga (cherry picked from commit 49f3024ee0a621729e31279f8b2d46051fc003f1) ---