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
99763e56
Commit
99763e56
authored
Jan 14, 2026
by
Luna Riegel
Browse files
Refactor: Deduplicate error classes in log
parent
182cf793
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
View file @
99763e56
...
...
@@ -782,7 +782,7 @@ public class Checker {
private
List
<
GmlId
>
getMissedFeatures
(
List
<
Future
<
GmlId
>>
futures
)
throws
InterruptedException
{
List
<
GmlId
>
missedList
=
new
ArrayList
<>();
Set
<
ExecutionException
>
errors
=
new
HashSet
<>();
Set
<
String
>
errors
=
new
HashSet
<>();
for
(
Future
<
GmlId
>
future
:
futures
)
{
try
{
GmlId
gmlId
=
future
.
get
();
...
...
@@ -792,7 +792,7 @@ public class Checker {
}
catch
(
ExecutionException
e
){
logger
.
debug
(
"A Task failed due to an unexpected exception"
,
e
);
logger
.
debug
(
e
.
getCause
());
errors
.
add
(
e
);
errors
.
add
(
e
.
getCause
().
toString
()
);
}
}
if
(!
errors
.
isEmpty
())
{
...
...
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