Commit 7b1663dc authored by Matthias Betz's avatar Matthias Betz
Browse files

removing unnecessary null checks

parent 9e205757
Pipeline #4356 passed with stage
in 2 minutes and 15 seconds
...@@ -60,9 +60,6 @@ public class Vertex extends Vector3d { ...@@ -60,9 +60,6 @@ public class Vertex extends Vector3d {
} }
void addAdjacentRing(LinearRing ring, Geometry geom) { void addAdjacentRing(LinearRing ring, Geometry geom) {
if (adjacentRings == null) {
adjacentRings = new ArrayList<>(2);
}
findAdjacentRingsForGeometry(geom).add(ring); findAdjacentRingsForGeometry(geom).add(ring);
} }
......
Markdown is supported
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