Chore/conform ui to checkstyle #184
@@ -4,14 +4,20 @@ package ch.unibas.dmi.dbis.cs108.casono.client;
|
|||||||
* Entry point for the Casono client application. Handles client startup and connection parameters.
|
* Entry point for the Casono client application. Handles client startup and connection parameters.
|
||||||
*/
|
*/
|
||||||
import ch.unibas.dmi.dbis.cs108.casono.client.ui.Launcher;
|
import ch.unibas.dmi.dbis.cs108.casono.client.ui.Launcher;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entry point for the Casono client application. Handles client startup and connection parameters.
|
* Entry point for the Casono client application. Handles client startup and
|
||||||
|
* connection parameters.
|
||||||
*
|
*
|
||||||
* <p>Standardkonstruktor für die Anwendung.
|
* <p>
|
||||||
|
* Standardkonstruktor für die Anwendung.
|
||||||
*/
|
*/
|
||||||
public class ClientApp {
|
public class ClientApp {
|
||||||
|
|
||||||
|
private static final Logger LOGGER = LogManager.getLogger(ClientApp.class);
|
||||||
|
|
||||||
/** Standardkonstruktor. */
|
/** Standardkonstruktor. */
|
||||||
public ClientApp() {
|
public ClientApp() {
|
||||||
// Standardkonstruktor
|
// Standardkonstruktor
|
||||||
@@ -31,8 +37,7 @@ public class ClientApp {
|
|||||||
String host = parts[0];
|
String host = parts[0];
|
||||||
int port = Integer.parseInt(parts[1]);
|
int port = Integer.parseInt(parts[1]);
|
||||||
|
|
||||||
System.out.println(
|
LOGGER.info("You've selected the client. It will connect port {} at host {}", port, host);
|
||||||
"You've selected the client. It will connect port " + port + " at host " + host);
|
|
||||||
Launcher.main(new String[] {});
|
Launcher.main(new String[] {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user