Skip to content

Commit b495f48

Browse files
committed
cleanups
1 parent bed4ade commit b495f48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/idrinth/waraddonclient/service/Request.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package de.idrinth.waraddonclient.service;
22

33
import de.idrinth.waraddonclient.Config;
4+
import de.idrinth.waraddonclient.Utils;
45
import java.io.File;
56
import java.io.IOException;
67
import de.idrinth.waraddonclient.model.TrustManager;
@@ -42,7 +43,7 @@ private synchronized org.apache.http.HttpResponse executionHandler(org.apache.ht
4243
uri.setHeader("User-Agent", "IdrinthsWARAddonClient/" + Config.getVersion());
4344
uri.setHeader("Cache-Control", "no-cache");
4445
while (requestActive) {
45-
de.idrinth.waraddonclient.service.Sleeper.sleep(150);
46+
Utils.sleep(150);
4647
}
4748
requestActive = true;
4849
client = org.apache.http.impl.client.HttpClientBuilder.create()

0 commit comments

Comments
 (0)