Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
0dd7b9e3
Commit
0dd7b9e3
authored
Feb 11, 2026
by
Luna Riegel
Browse files
Refactor: Remove temp ternary
parent
5ae0a1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
View file @
0dd7b9e3
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment