Fixed formatting

This commit is contained in:
Kai S. K. Engelbart 2019-10-06 10:41:32 +02:00
parent 17fe38a377
commit efffbb75eb
1 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,6 @@ public class EnvoyClient {
} catch (IOException e) {
e.printStackTrace();
}
}
public EnvoyClient() {
@ -73,7 +72,8 @@ public class EnvoyClient {
}
// Send message
String url = String.format("%s:%s/envoy-server/rest/message/send", serverProps.getProperty("server"),
String url = String.format("%s:%s/envoy-server/rest/message/send",
serverProps.getProperty("server"),
serverProps.getProperty("port"));
Client client = ClientBuilder.newClient();
WebTarget target = client.target(url);