From 5b3912b1de7f9dd1609c207b2d184db2027d94f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jegors=20=C4=8Cemisovs?= Date: Mon, 27 Dec 2021 00:30:05 +0200 Subject: [PATCH] Update Groovy App --- src/main/groovy/lv/id/jc/AppGroovy.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/groovy/lv/id/jc/AppGroovy.groovy b/src/main/groovy/lv/id/jc/AppGroovy.groovy index caea451..db2d074 100644 --- a/src/main/groovy/lv/id/jc/AppGroovy.groovy +++ b/src/main/groovy/lv/id/jc/AppGroovy.groovy @@ -31,9 +31,9 @@ class AppGroovy { final var routeOne = shortest.findPath(graph, source, target) final var routeTwo = fastest.findPath(graph, source, target) final var message = """ - Find the path from %s to %s - - the shortest take %.0f min and the path is %s - - the fastest take %.0f min and the path is %s""" +Find the path from %s to %s + - the shortest take %.0f min and the path is %s + - the fastest take %.0f min and the path is %s""" .formatted( source, target, graph.getDistance(routeOne), routeOne,