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
c3ec34c5
Commit
c3ec34c5
authored
Feb 17, 2026
by
Luna Riegel
Browse files
Refactor: Remove subject id from candidate list
parent
04b94412
Changes
2
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/database/EmbeddedDatabaseHandler.java
View file @
c3ec34c5
...
...
@@ -350,6 +350,7 @@ public class EmbeddedDatabaseHandler {
while
(
rs
.
next
())
{
intersectingObjects
.
add
(
new
GmlId
(
rs
.
getString
(
"gmlid"
)));
}
intersectingObjects
.
remove
(
subjectId
);
}
}
catch
(
SQLException
e
)
{
logger
.
error
(
Localization
.
getText
(
"DatabaseHandler.getBufferIntersectFailure"
),
subjectId
);
...
...
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/topology/FeatureCollisionCheck.java
View file @
c3ec34c5
...
...
@@ -142,9 +142,6 @@ public class FeatureCollisionCheck extends Check{
for
(
Geometry
sGeo
:
subjGeoms
)
{
for
(
CityObject
candidate
:
candidates
)
{
if
(
candidate
.
getGmlId
().
equals
(
subject
.
getGmlId
()))
{
continue
;
}
candidate
.
accept
(
new
CheckableUtilsVisitor
()
{
@Override
public
void
check
(
Geometry
cGeo
)
{
...
...
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