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
5ae0a1f3
Commit
5ae0a1f3
authored
Feb 11, 2026
by
Luna Riegel
Browse files
Fix: Handle cache passthrough within streamchecker
parent
e53df320
Pipeline
#12324
passed with stage
in 2 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
View file @
5ae0a1f3
...
...
@@ -59,6 +59,7 @@ import javax.xml.transform.dom.DOMSource;
import
javax.xml.transform.sax.SAXResult
;
import
javax.xml.transform.stream.StreamSource
;
import
de.hft.stuttgart.citydoctor2.database.UnconnectedCache
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
...
...
@@ -636,7 +637,10 @@ public class Checker {
ArrayList
<
Check
>
checkList
=
new
ArrayList
<>();
for
(
CheckId
id
:
enabledCheck
)
{
Check
c
=
checkConfig
.
getCheckForId
(
id
);
c
.
init
(
parameterMap
,
parserConfig
,
model
.
getCache
());
//TODO: Change this to correct handling with streamchecker
CityObjectCache
cache
=
model
!=
null
?
model
.
getCache
()
:
new
UnconnectedCache
();
//Temp ternary
c
.
init
(
parameterMap
,
parserConfig
,
cache
);
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