From 6510bbdbc74d25b7ffd08af51ba8a488d7817397 Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Fri, 15 Jan 2016 10:05:32 +0100 Subject: [PATCH] Use variable instead of hardcoded value --- src/com/sheepit/client/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 108c2f1..f116e0e 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -209,7 +209,7 @@ public class Client { catch (FermeServerDown e) { int wait = 15; int time_sleep = 1000 * 60 * wait; - this.gui.status(String.format("Can not connect to server. Please check your connectivity. Will retry in %s minutes", 15)); + this.gui.status(String.format("Can not connect to server. Please check your connectivity. Will retry in %s minutes", wait)); try { Thread.sleep(time_sleep); }