Commit c3ec34c5 authored by Luna Riegel's avatar Luna Riegel
Browse files

Refactor: Remove subject id from candidate list

parent 04b94412
......@@ -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);
......
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment