Commit 0dd7b9e3 authored by Luna Riegel's avatar Luna Riegel
Browse files

Refactor: Remove temp ternary

parent 5ae0a1f3
......@@ -638,9 +638,7 @@ public class Checker {
for (CheckId id : enabledCheck) {
Check c = checkConfig.getCheckForId(id);
//TODO: Change this to correct handling with streamchecker
CityObjectCache cache = model !=null ? model.getCache() : new UnconnectedCache();
//Temp ternary
c.init(parameterMap, parserConfig, cache);
c.init(parameterMap, parserConfig, model.getCache());
checkList.add(c);
}
return checkList;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment