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
dc81c5a4
Commit
dc81c5a4
authored
4 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
fixed bug with global parameters not getting through to checks
parent
29105946
Pipeline
#1276
failed with stage
in 1 minute and 52 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
+2
-2
...main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
with
2 additions
and
2 deletions
+2
-2
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
+
2
-
2
View file @
dc81c5a4
...
...
@@ -346,10 +346,10 @@ public class Checker {
Check
c
=
checkConfig
.
getCheckForId
(
e
.
getKey
());
Map
<
String
,
String
>
parameters
=
new
HashMap
<>();
parameters
.
putAll
(
e
.
getValue
().
getParameters
());
parameters
.
put
(
"numberOfRound
ed
Places"
,
""
+
config
.
getNumberOfRoundingPlaces
());
parameters
.
put
(
"numberOfRound
ing
Places"
,
""
+
config
.
getNumberOfRoundingPlaces
());
parameters
.
put
(
"minVertexDistance"
,
""
+
config
.
getMinVertexDistance
());
// initialize checks with parameters
c
.
init
(
e
.
getValue
().
getP
arameters
()
,
parserConfig
);
c
.
init
(
p
arameters
,
parserConfig
);
checks
.
add
(
c
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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