Skip to content
Snippets Groups Projects
Commit e2640e5c authored by SeeBasTStick's avatar SeeBasTStick
Browse files

small change to account for changed setting names in the client

parent 2adbde7d
Branches
Tags v2.0.2
No related merge requests found
......@@ -10,7 +10,7 @@ import java.util.concurrent.Future
fun main() {
println("opening connection and waiting ...")
val socket = ServerSocket(55555)
val socket = ServerSocket(55556)
val channel = socket.accept()
println("accepted connection from ${channel.inetAddress}")
startServer(channel.getInputStream(), channel.getOutputStream())
......
......@@ -15,7 +15,7 @@ fun castJsonToSetting(json : JsonObject) : Settings {
Gson().fromJson(json.get("wdChecks"), Boolean::class.java),
Gson().fromJson(json.get("strictChecks"), Boolean::class.java),
Gson().fromJson(json.get("performanceHints"), Boolean::class.java),
Gson().fromJson(json.get("probHome"), String::class.java),
Gson().fromJson(json.get("proBHome"), String::class.java),
Gson().fromJson(json.get("debugMode"), Boolean::class.java))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment