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

removed unused/useless setting

parent ab37ec4d
Branches
Tags v1.3.4 v1.5.0
No related merge requests found
......@@ -13,7 +13,7 @@ import java.io.File
* @return the settings object
*/
fun castJsonToSetting(json : JsonObject) : Settings {
return Settings(Gson().fromJson(json.get("maxNumberOfProblems"), Int::class.java),
return 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),
......
......@@ -2,6 +2,6 @@ package b.language.server.dataStorage
import java.io.File
data class Settings(val maxNumberOfProblem : Int = 1000, val strictChecks : Boolean = true, val wdChecks : Boolean = true,
data class Settings(val strictChecks : Boolean = true, val wdChecks : Boolean = true,
val performanceHints : Boolean = true , val probHome : File = File("~/prob_prolog/probcli.sh"),
val debugMode : Boolean = true)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment